This section explains how to specify print options when you use the command line switches of the lpr command to specify print settings.
Syntax: -o MediaType=mediatype
Configurable Parameters (mediatype) | |
---|---|
plain |
Plain Paper |
prophoto |
Photo Paper Pro |
superphoto |
Photo Paper Plus Glossy |
doublesidephoto |
Photo Paper Plus Double Sided |
matte |
Matte Photo Paper |
glossypaper |
Glossy Photo Paper |
highres |
High Resolution Paper |
ijpostcard |
Ink Jet Hagaki |
postcard |
Hagaki |
tshirt |
T-Shirt Transfers |
envelope |
Envelope |
otherphoto |
Other Photo Paper |
Default Value | |
plain |
|
Example: Printing Sample.png on Photo Paper Pro | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o MediaType=prophoto |
![]() |
Some print options may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)." |
Syntax: -o InputSlot=position
Configurable Parameters (position) | |
---|---|
switch |
Feed according to the paper feed switch setting |
asf |
Feed from auto sheet feeder |
cassette |
Feed from cassette |
Default Value | |
switch |
|
Example: Printing Sample.png by feeding paper from auto sheet feeder | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o InputSlot=asf |
![]() |
Some print options may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)." |
Syntax: -o CNQuality=qualitylevel
Configurable Parameters (qualitylevel) | |
---|---|
A number from 1 to 5 |
As the value becomes smaller, the print quality improves. As the value becomes larger, the print speed increases. |
Default Value | |
The default value differs depending on other print options such as the Media Type. |
|
Example: Setting the print quality to 3 and printing Sample.png | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNQuality=3 |
![]() |
Some print options may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)." |
Syntax: -o CNHalftoning=halftonetype
Configurable Parameters (halftonetype) | |
---|---|
pattern |
Executes halftone processing using the dither pattern. |
ed |
Executes halftone processing using the error diffusion. |
Default Value | |
The default value differs depending on other print options such as the Media Type. |
|
Example: Executing halftone processing using the dither pattern and printing Sample.png | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNHalftoning=pattern |
![]() |
Some print options may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)." |
Syntax: -o CNBalanceX=value
Parameter X meanings | |
---|---|
CNBalanceC=value |
cyan |
CNBalanceM=value |
magenta |
CNBalanceY=value |
yellow |
Configurable Parameters (value) | |
A number from -50 to 50 |
The color tone increases as the number increases. |
Default Value | |
0 |
|
Example: Setting the cyan color balance to -20 and printing Sample.png | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNBalanceC=-20 |
Syntax: -o CNDensity=value
Configurable Parameters (value) | |
---|---|
A number from -50 to 50 |
The intensity increases as the number increases. |
Default Value | |
0 |
|
Example: Printing Sample.png at an intensity of -20 | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNDensity=-20 |
Syntax: -o CNContrast=value
Configurable Parameters (value) | |
---|---|
A number from -50 to 50 |
The contrast increases as the number increases. |
Default Value | |
0 |
|
Example: Printing Sample.png at a contrast of -20 | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNContrast=-20 |
Syntax: -o CNRenderIntent=intent
Configurable Parameters (intent) | |
---|---|
photo |
Specify this value when printing photo data. |
vivid |
Specify this value when printing a photo with vivid colors. |
Default Value | |
photo |
|
Example: Printing Sample.png with vivid colors | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNRenderIntent=vivid |
Syntax: -o CNGamma=value
Configurable Parameters (value) | |
---|---|
1.4 |
Light |
1.8 |
Normal |
2.2 |
Dark |
Default Value | |
1.8 |
|
Example: Printing Sample.png with the Light setting | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNGamma=1.4 |
Syntax: -o CNGrayscale
Example: Printing Sample.png with grayscale | |
---|---|
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNGrayscale |
Syntax: -o PageSize=size
Configurable Parameters (size) | |
---|---|
letter |
Letter (215.9 x 279.4 mm) |
legal |
Legal (215.9 x 355.6 mm) |
a5 |
A5 (148.0 x 210.0 mm) |
a4 |
A4 (210.0 x 297.0 mm) |
b5 |
B5 (182.0 x 257.0 mm) |
4X6 |
4x6in (101.6 x 152.4 mm) |
4X8 |
4x8in (101.6 x 203.2 mm) |
5X7 |
5x7in (127.0 x 177.8 mm) |
8X10 |
8x10in (203.2 x 254.0 mm) |
l |
L (89.0 x 127.0 mm) |
2l |
2L (127.0 x 178.0 mm) |
postcard |
Hagaki (100.0 x 148.0 mm) |
postdbl |
Hagaki 2 (200.0 x 148.0 mm) |
envelop10p |
Comm. Env. #10 (104.6 x 241.3 mm) |
envelopdlp |
DL Env. (110.0 x 220.0 mm) |
envj4p |
Youkei 4 (105.0 x 235.0 mm) |
envj6p |
Youkei 6 (98.0 x 190.0 mm) |
creditcard |
Credit Card (54.0 x 86.0 mm) |
businesscard |
Card (55.0 x 91.0 mm) |
wide |
Wide (101.6 x 180.6 mm) |
Custom.value1xvalue2mm |
Custom |
Default Value | |
a4 (depends on your system setting) |
|
Example: Printing Sample.png on A5 size paper | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o PageSize=a5 |
![]() |
Some print options may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)." |
Custom Paper Size
If you specify "Custom (Custom.value1xvalue2mm)" for Page Size, specify the size within the following range.
Configurable Parameters (value1) | |
---|---|
54.0mm to 215.9mm |
|
Configurable Parameters (value2) | |
86.0mm to 584.2mm |
|
Example: Printing Sample.png on a paper size of 210 x 297mm | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o PageSize=Custom.210x297mm -o InputSlot=asf |
Syntax: -o CNPercent=value
Configurable Parameters (value) | |
---|---|
A number from 20 to 400 |
Specify the size ratio for enlargement or reduction as a % value. |
Default Value | |
100 |
|
Example: Printing Sample.png with an expansion size of 200% | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNPercent=200 |
Syntax: -o CNLocation=position
Configurable Parameters (position) | |
---|---|
center |
Printing in the center of the printing area. |
upperleft |
Printing from the upper left of the printing area |
Default Value | |
upperleft |
|
Example: Printing Sample.png in the center of the print area | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNLocation=center |
Syntax: -o Duplex
Example: Printing Sample.ps using Automatic Duplex Printing. | |
---|---|
[user@zzz /yyyy]$ lpr -P IP4300 Sample.ps -o Duplex |
![]() |
Some print options may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)." |
Staple Side
Syntax: -o CNStapleside=stapleside
Configurable Parameters (stapleside) | |
---|---|
longside |
Printing with stapling on the long side. |
shortside |
Printing with stapling on the short side. |
Default Value | |
longside |
|
Example: Printing Sample.ps using Automatic Duplex Printing and with stapling on the long side | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.ps -o Duplex -o CNStapleside=longside |
![]() |
This is available only if you set automatic duplex printing. |
Syntax: -o CNCopies=value
Configurable Parameters (value) | |
---|---|
A number from 1 to 999 |
|
Default Value | |
1 |
|
Example: Printing 10 copies of Sample.png | |
[user@zzz /yyyy]$ lpr -P IP4300 Sample.png -o CNCopies=10 |