|
|
The filters previously described also take advantage of PostScript capabilities to provide additional printing flexibility. Most of these features may be accessed through the ``mode option'' (invoked by the -y option) to the lp command. These filters allow you to use several unusual options for your print jobs. The following list describes these options and shows the option to include on the lp command line for each one.
%%Page: label ordinal
where ordinal is a positive integer that specifies the position of the page in the sequence of pages in the document, and label is an arbitrary page label.
For example, say you have a file called
report2 that has a content type simple
(meaning that the content of this file
is in ASCII format).
You want to print six pages of this file
(pages 4 through 9)
with two logical pages on each physical page.
Because one of the printers on your system
(psprinter)
is a PostScript printer,
you can do this by entering the following command:
lp -d psprinter -T simple -P 4-9 -y group=2 myfile
The filter that groups these logical pages will try to position the pages on the physical page to maximize space utilization. Thus when you specify group=2, the pages will be printed side by side, so that the physical page will be landscape orientation. Landscape mode, which controls the orientation of the logical page rather than the physical page, would cause the logical pages to be positioned one on top of the other when combined with the group=2 option.