Saturday, March 24, 2007

Printers

For Linux
  • lpstat -t : will provide list of printers with their status .
  • lpq -P bolprinter1 : Will fire a print job
  • lp -d HPLJ1200 : will delete a print job .
Cups
====
Key CUPS configuration files .
  • /etc/cups/passwd.md5 :Holds uname:pwd details of printer admin
  • /etc/cups/cupsd.conf : Needs to have "hostname" against "ServerName"
  • /etc/cups/printers.conf :Contains actual printer definitions

CUPS Services
  • /etc/init.d/cups stop
  • /etc/init.d/cups start

No comments: