Cups Command Line Options

January 2008


When using a Cups printer server, command line options can be passed to cupsdoprint as well as lpr to specify how to print. The full list is at http://www.cups.org/documentation.php/options.html, but the following example comprises all I usually need:

lpr -Ppr2 -o media=A3,Transparency -o landscape -o sides=two-sided-long-edge -o fitplot myfile.jpg