Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:software:unix_systems:cups [2008/12/02 10:41]
Tomas Ratkus h1ed and codebashed
wiki:software:unix_systems:cups [2010/07/29 12:23] (current)
Tomas Ratkus fixed some minor command and sentence structure errors
Line 1: Line 1:
 +====== CUPS Commands ======
  
 +
 +For the most part, you use CUPS lpr commands exactly like you used to with LPRNG:
 +
 +**lpr -Pprintername**
 +
 +And that's it!
 +
 +However, specifying printer options with CUPS is done differently. With LPRNG, printing to transparency or disabling duplexing was done by appending "--slide", "--duplex", or "--simplex" to the printer name.
 +
 +<codebash>lpr -Psutherland-slide
 +lpr -Pknuth --simplex
 +lpr -Psutherland --duplex</code>
 +
 +With CUPS, you can specify media options with the -o option to lpr:
 +
 +<codebash>lpr -Psutherland -o media=transparency
 +lpr -Pknuth -o Duplex=None
 +lpr -Psutherland -o Duplex=DuplexNoTumble</code>
 +
 +Printers which support these options:
 +
 +    * Transparency: //color, evans, sutherland//
 +    * Duplexing: //babbage, color, knuth, sutherland, warnock, ritchie// 
 +
 +Banner pages can be supressed or forced with the option
 +
 +<codebash>-o job-sheets=none    (supress)
 +  -o job-sheets=pcn    (enable)</code>
 +
 +Multiple options are specified with multiple -o options:\\
 +
 +<codebash>lpr -Pknuth -o duplex=none -o job-sheets=none</code>
 +
 +Some newer GNOME or KDE applications may support manipulation of these options via the print dialog boxes, much like in Windows or Macintosh OS.