This section explains how to specify print options when you use the command line switches of the cif command to specify print settings.
Media Type
Syntax: --media mediatype or -m mediatype
Configurable Parameters (mediatype) | |
---|---|
plain |
Plain Paper |
prophoto |
Photo Paper Pro |
superphoto |
Photo Paper Plus Glossy |
glossygold |
Photo Paper Plus Glossy II |
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 | |
[root@zzz /yyyy]# cifmp520 Sample.png --media prophoto |
![]() |
Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (cif)." |
Paper Source
Syntax: --paperload position
Configurable Parameters (position) | |
---|---|
asf |
Feed from rear tray |
front |
Feed from front tray |
frontplain |
Feed from front tray for the A4, B5, and Letter Plain Paper and feed from rear tray in other cases |
Default Value | |
asf |
|
Example: Printing Sample.png by feeding paper from front tray | |
[root@zzz /yyyy]# cifmp520 Sample.png --paperload front |
![]() |
Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (cif)." |
Print Quality
Syntax: --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. |
|
Example: Setting the print quality to 3 and printing Sample.png | |
[root@zzz /yyyy]# cifmp520 Sample.png --quality 3 |
![]() |
Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (cif)." |
Halftoning
Syntax: --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. |
|
Example: Executing halftone processing using the dither pattern and printing Sample.png | |
[root@zzz /yyyy]# cifmp520 Sample.png --halftoning pattern |
![]() |
Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (cif)." |
Color Balance
Syntax: --balance_x value
Parameter x meanings: | |
---|---|
balance_c value |
cyan |
balance_m value |
magenta |
balance_y 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 | |
[root@zzz /yyyy]# cifmp520 Sample.png --balance_c -20 |
Intensity Specification
Syntax: --density 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 | |
[root@zzz /yyyy]# cifmp520 Sample.png --density -20 |
Contrast Specification
Syntax: --contrast 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 | |
[root@zzz /yyyy]# cifmp520 Sample.png --contrast -20 |
Print Purpose
Syntax: --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 |
|
Example: Printing Sample.png with vivid colors | |
[root@zzz /yyyy]# cifmp520 Sample.png --renderintent vivid |
Brightness Specification
Syntax: --gamma 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 | |
[root@zzz /yyyy]# cifmp520 Sample.png --gamma 1.4 |
Grayscale Printing
Syntax: --grayscale or -g
Example: Printing Sample.png with grayscale | |
---|---|
[root@zzz /yyyy]# cifmp520 Sample.png --grayscale |
Page Size Specification
Syntax: --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) |
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) |
user |
Custom |
Default Value | |
a4 |
|
Example: Printing Sample.png on A5 size paper | |
[root@zzz /yyyy]# cifmp520 Sample.png --papersize a5 |
![]() |
Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (cif)." |
Custom Paper Size
If you specify "Custom (user)" for Page Size, specify the size with a width (value1) and a height (value2). The unit is 1/100 mm.
Syntax: --paperwidth value1 --paperheight value2
Configurable Parameters (value1) | |
---|---|
A number from 5400 to 21590 |
The unit is 1/100 mm. |
Configurable Parameters (value2) | |
A number from 8600 to 58420 |
The unit is 1/100 mm. |
Example: Printing Sample.png on a paper size of 110 mm (width) x 150 mm (height) | |
[root@zzz /yyyy]# cifmp520 Sample.png --papersize user --paperwidth 11000 --paperheight 15000 |
![]() |
When you set the size of "Custom (user)," you must set both the paper width (value1) and height (value2). |
Print Size Adjustment
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) | |
---|---|
A number from 20 to 400 |
|
Default Value | |
100 |
|
Example: Printing Sample.png with an expansion size of 200% | |
[root@zzz /yyyy]# cifmp520 Sample.png --percent 200 |
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: --fit
Example: Printing Sample.png with Fit-to-Page Printing | |
---|---|
[root@zzz /yyyy]# cifmp520 Sample.png --fit |
Fit-to-Print-Area Printing
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
Example: Printing Sample.png with Fit-to-Print-Area Printing | |
---|---|
[root@zzz /yyyy]# cifmp520 Sample.png --full |
![]() |
Depending on the size of the media used, a portion of the image may not be printed. |
Print Position Adjustment
Syntax: --location 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 | |
[root@zzz /yyyy]# cifmp520 Sample.png --location center |
Borderless Printing Specification
Syntax: --borderless
Example: Printing Sample.png with Borderless Printing | |
---|---|
[root@zzz /yyyy]# cifmp520 Sample.png --borderless |
|
Example: Printing Sample.png with Borderless Printing and Fit-to-Print-Area Printing | |
[root@zzz /yyyy]# cifmp520 Sample.png --borderless --full |
![]() |
This print option may be disabled when they are configured with other options. For details, see "Print Option Combinations (cif)." |
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: --extension amount
Configurable Parameters (amount) | |
---|---|
A number from 0 to 3 |
As the number becomes larger, the extension amount increases. |
Default Value | |
2 |
|
Example: Printing Sample.png with Borderless Printing with an extension amount of 1 | |
[root@zzz /yyyy]# cifmp520 Sample.png --borderless --extension 1 |
Copies
Syntax: --copies value
Configurable Parameters (value) | |
---|---|
A number from 1 to 999 |
|
Default Value | |
1 |
|
Example: Printing 10 copies of Sample.png | |
[root@zzz /yyyy]# cifmp520 Sample.png --copies 10 |
Input Image Resolution
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: 120 dpi) is used. |
|
Example: Printing Sample.png at 60dpi resolution | |
[root@zzz /yyyy]# cifmp520 Sample.png --imageres 60 |
Image Extraction Range
Syntax: --bbox left,bottom,right,top
Configurable Parameters (left,bottom,right,top) | |
---|---|
Numbers from 0 to the "image size passed to printer driver" |
|
Example: Printing Sample.png with the image extraction range set to the coordinates (100,100) for the bottom left and (200,200) for the top right | |
[root@zzz /yyyy]# cifmp520 Sample.png --bbox 100,100,200,200 |
![]() |
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. |