Monday, February 21, 2005

Good reference for printing commands: CUPS Software Users Manual

Good reference for printing commands: CUPS Software Users Manual

Setting the Orientation

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

lp -o landscape filename ENTER
lpr -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:

lp -o sides=two-sided-short-edge filename ENTER
lp -o sides=two-sided-long-edge filename ENTER
lpr -o sides=two-sided-long-edge filename ENTER

N-Up Printing

The -o number-up=value option selects N-Up printing. N-Up printing places multiple document pages on a single printed page. CUPS supports 1, 2, 4, 6, 9, and 16-Up formats; the default format is 1-Up:

lp -o number-up=1 filename ENTER
lp -o number-up=2 filename ENTER
lp -o number-up=4 filename ENTER
lpr -o number-up=16 filename ENTER

No comments:

Post a Comment