Tips for using the Ip command to print from Linux systems
The lp command on Linux systems offers a range of printing options that allow you to print documents using a variety of options. In this post, we take a look at some that offer interesting possibilities.
The recent Printing from the Linux command line post covers printing in double-sided and portrait mode. In this post, we'll look at printing:
- Multiple pages per sheet
- Specific pages or page ranges
- Pages with borders
- Multiple copies
How to print multiple pages per sheet
With lp, you can print as many as 16 pages of a document on one side of a single sheet of paper. To specify the number of pages to print on a page, use the lp -o number-up=# command (e.g., lp -o number-up=16 mydoc). If your document doesn't contain as many pages as you've requested in the layout, that's OK. The page will simply have an empty area.