Basic Settings

You can set the number of copies to be printed and paper to use.

Format

lpr <file path>
-o CNCopies=<Number of Copies>
-o PageSize=<Page Size>
-o CNFeedAFiveVertically={True | False}
-o CNFeedAFiveHorizontally={True | False}

Options

CNCopies
Specifies the number of copies to be printed. (default: 1)
PageSize
Specifies one of the following document sizes. (default: A4)
Standard Size
A3 / A4 / A5 / A6 / B4 / B5 / B6 / SRA3 / Letter / Ledger / Legal / Executive / Statement / 11x17 / 12x18 / 13x19 / Index_3x5 / LongSheet_297x900 / LongSheet_297x1200
Postcard
Postcard / dbl_postcard (Reply) / 4x_postcard (4 on 1)
Local Standard Size
Foolscap / Oficio / A_Oficio (Argentina) / B_Oficio (Brazil) / E_Oficio (Ecuador) / M_Oficio (Mexico) / A_Letter (Argentina) / G_Letterr (Government) / G_Legall (Government) / I_Legall (India) / F4A / A_Foolscap (Australia) / 16K / 8K
Envelope
jenv_chou3 (NAGAGATA 3) / jenv_chou4 (NAGAGATA 4) / jenv_chou40 (NAGAGATA 40) / jenv_kaku2 (KAKUGATA 2) / jenv_you_chou3 (YOUGATANAGA 3) / jenv_you2 (YOUGATA 2) / jenv_you4 (YOUGATA 4) / Com10 / dl_envelope / Envelope_B5 / Envelope_C5 / Monarch
NOTE
The document sizes that can be specified depend on the model you are using.
CNFeedAFiveVertically
Feeds the paper vertically when the A4, A5, or Letter size is specified.
CNFeedAFiveHorizontally
Feeds the paper horizontally when the A5 size is specified.

Example

To print the file "sample.txt" with the following setting:
Copies: 5
Page Size: A3
$ lpr sample.txt -o CNCopies=5 -o PageSize=A3
A7Y1-01S