This section describes options available for setting up printing with the lpr or cif command.
Formats and usage examples that apply to the lpr command only are marked with
, while those that apply to the cif command only are marked with
.
Parameters without any mark can be used for both commands.
Any setting identified with
has restrictions when combined with other options.
For information about restrictions based on print option combinations, see "Print Option Combinations (lpr)" or "Print Option Combinations (cif)."
Media Type
Syntax:
-o MediaType=mediatype
--media mediatype or -m mediatype
Configurable Parameters (mediatype) | |
---|---|
plain |
Plain Paper |
glossygold |
Photo Paper Plus Glossy II |
prophoto2 |
Photo Paper Pro II |
proplatinum |
Photo Paper Pro Platinum |
semigloss |
Photo Paper Plus Semi-gloss |
glossypaper |
Glossy Photo Paper |
matte |
Matte Photo Paper |
highres |
High Resolution Paper |
postcardaddress |
Hagaki A |
ijpostcard |
Ink Jet Hagaki |
glossypost |
Hagaki K |
prophotopost |
Hagaki P |
postcard |
Hagaki |
tshirt |
T-Shirt Transfers |
envelope |
Envelope |
otherphoto |
Other Photo Paper |
Default Value | |
plain |
Paper Source
Syntax:
-o InputSlot=position
--paperload position
Configurable Parameters (position) | |
---|---|
auto |
When the Media Type is plain paper and the page size is Letter, A5, A4, or B5, the printer feeds paper from the cassette. For other Media Types or plain paper of other sizes, the printer feeds paper from the rear tray. |
asf |
Feed from rear tray |
cassette |
Feed from cassette |
continuous |
If paper runs out in one paper source, the printer automatically switches to the other paper source and continues to feed paper. |
Default Value | |
auto |
Print Quality
Syntax:
-o CNQuality=qualitylevel
--quality qualitylevel or -q 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. |
Halftoning
Syntax:
-o CNHalftoning=halftonetype
--halftoning 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. |
Color Balance
Syntax:
cyan
-o CNBalanceC=value
--balance_c value
magenta
-o CNBalanceM=value
--balance_m value
yellow
-o CNBalanceY=value
--balance_y value
Configurable Parameters (value) | |
---|---|
A number from -50 to 50 |
The color tone increases as the number increases. |
Default Value | |
0 |
Intensity
Syntax:
-o CNDensity=value
--density value
Configurable Parameters (value) | |
---|---|
A number from -50 to 50 |
The intensity increases as the number increases. |
Default Value | |
0 |
Contrast
Syntax:
-o CNContrast=value
--contrast value
Configurable Parameters (value) | |
---|---|
A number from -50 to 50 |
The contrast increases as the number increases. |
Default Value | |
0 |
Print Purpose
Syntax:
-o CNRenderIntent=intent
--renderintent 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 |
Brightness
Syntax:
-o CNGamma=value
--gamma value
Configurable Parameters (value) | |
---|---|
1.4 |
Light |
1.8 |
Normal |
2.2 |
Dark |
Default Value | |
1.8 |
Grayscale Printing
Syntax:
-o CNGrayscale
--grayscale or -g
Page Size
Syntax:
-o PageSize=size
--papersize size or -p 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 |
4"x6" (101.6 x 152.4 mm) |
4X8 |
4"x8" (101.6 x 203.2 mm) |
5X7 |
5"x7" (127.0 x 177.8 mm) |
8X10 |
8"x10" (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) |
businesscard |
Card (55.0 x 91.0 mm) |
wide |
Wide (101.6 x 180.6 mm) |
|
Custom |
|
|
|
Letter (215.9 x 279.4 mm) with Borderless Printing |
|
A4 (210.0 x 297.0 mm) with Borderless Printing |
|
4"x6" (101.6 x 152.4 mm) with Borderless Printing |
|
4"x8" (101.6 x 203.2 mm) with Borderless Printing |
|
5"x7" (127.0 x 177.8 mm) with Borderless Printing |
|
8"x10" (203.2 x 254.0 mm) with Borderless Printing |
|
L (89.0 x 127.0 mm) with Borderless Printing |
|
2L (127.0 x 178.0 mm) with Borderless Printing |
|
Hagaki (100.0 x 148.0 mm) with Borderless Printing |
|
Card (55.0 x 91.0 mm) with Borderless Printing |
|
Wide (101.6 x 180.6 mm) with Borderless Printing |
Default Value | |
|
![]() |
To perform borderless printing with the lpr command, specify a page size that has the ".bl" suffix. For instructions on specifying borderless printing with the cif command, see "Borderless Printing." |
Custom Paper Size
If you specify Custom for Page Size, specify the size within the following range.
Syntax:
-o PageSize=Custom.value1xvalue2mm
--papersize user --paperwidth value1 --paperheight value2
Configurable Parameters (value1) | |
---|---|
|
|
Configurable Parameters (value2) | |
|
![]() |
When you set the size of "Custom (user)," you must set both the paper width (value1) and height (value2). |
Print Size
There are three size adjustment methods:
Scaling Specification
Fit-to-Page Printing
Fit-to-Print-Area Printing
![]() |
Two or more these methods cannot be specified at the same time. |
Scaling Specification
Specify the size ratio for enlargement or reduction as a % value.
Syntax:
--percent value
Configurable Parameters (value) | |
---|---|
|
|
Default Value | |
|
![]() |
With the lpr command, you can use "natural-scaling", which is a standard option, to perform the Scaling Specification. For information about the options that can be set in the lpr command (CUPS), see the homepage for the Common UNIX Printing System (http://www.cups.org/). |
Fit-to-Page Printing
This function expands or reduces the image to fit the print area, without changing the vertical-horizontal ratio.
It scales the image to fit to the print area in either the horizontal or vertical direction.
Syntax:
-o scaling=100
--fit
Fit-to-Print-Area Printing (cif command only)
This function expands or reduces the image, without changing the vertical-horizontal ratio, so that there are no margins in the print area.
It scales the image to fit to the print area in both horizontal and vertical directions.
Syntax:
--full
![]() |
Depending on the size of the media used, a portion of the image may not be printed. |
Print Position
Syntax:
--location param
Configurable Parameters (param) | |
---|---|
|
Printing in the center of the printing area. |
|
Printing from the upper left of the printing area. |
Default Value | |
|
![]() |
With the lpr command, you can use "position", which is a standard option, to perform the Print Position adjustment. For information about the options that can be set in the lpr command (CUPS), see the homepage for the Common UNIX Printing System (http://www.cups.org/). |
Borderless Printing
Syntax:
--borderless
![]() |
|
Extension Amount
This parameter adjusts the amount that extends outside the paper during Borderless Printing. This parameter is enabled only when Borderless Printing is specified.
Syntax:
-o CNExtension=amount
--extension amount
Configurable Parameters (amount) | |
---|---|
A number from 0 to 3 |
As the number becomes larger, the extension amount increases. |
Default Value | |
2 |
Copies
Syntax:
-o CNCopies=value
--copies value
Configurable Parameters (value) | |
---|---|
A number from 1 to 999 |
|
Default Value | |
1 |
Input Image Resolution (cif command only)
Syntax:
--imageres value
Configurable Parameters (value) | |
---|---|
A number from 1 to 32767 |
|
Default Value | |
The resolution included in the input image (if a resolution is not included in the image, the default value of printer driver: 120dpi) is used. |
Image Extraction Range (cif command only)
Syntax:
--bbox left,bottom,right,top
Configurable Parameters (left,bottom,right,top) | |
---|---|
Numbers from 0 to the "image size passed to printer driver" |
![]() |
With the bottom left of the image passed to printer driver as the origin, specify the coordinates for the bottom left corner (left,bottom) and the top right corner (right,top) of the range to be extracted. The unit is 1/72 inch. |