Pages

Monday, February 21, 2005

Good reference for printing commands: CUPS Software Users Manual

The -o landscape option will rotate the page 90 degrees to print in landscape orientation:

lp -o landscape filename ENTERlpr -o landscape filename ENTER

Printing On Both Sides of the Paper

The -o sides=two-sided-short-edge and -o sides=two-sided-long-edge options will enable duplexing on the printer, if the printer supports it. The -o sides=two-sided-short-edge option is suitable for landscape pages, while the -o sides=two-sided-long-edge option is suitable for portrait pages: