Friday, February 8, 2013

CUPS: Usage

Some basic commands that enable us to print and maintain our CUPS server and printers

  • lpq -a - Shows the queued jobs for all printers.
  • lpq -Pprintername - Shows the queued jobs for a specific printer.
  • lprm X - Deletes a specific print job.
  • lprm - - Deletes all print jobs.
  • lpr - Send a file to printer.
  • lpr -Pprintername - Send a file to a non default printer.
  • lpc status all - Shows the state of the printers.
  • lpmove # printer - Move a specific job to an other printer
  • lpmove printer1 printer2 - Move all jobs from one printer to an other.
  • cupsaccept - Enable the printing queue.
  • cupsreject - Disable the printing queue.
  • cupsenable - Enable the printer.
  • cupsdisable - Disable the printer, will still send to queue.
  • cupsdisable -r XXXX - Disable the printer with a reason.
Dennis.

No comments:

Post a Comment