This section explains how to specify print options when you use the command line switches of the lpr command to specify print settings.

Media Type

Paper Source

Print Quality

Halftoning

Color Balance

Intensity Specification

Contrast Specification

Print Purpose

Brightness Specification

Grayscale Printing

Page Size Specification

Scaling Specification

Print Position Adjustment

Copies

Media Type

Syntax: -o MediaType=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

[user@zzz /yyyy]$ lpr -P MP520 Sample.png -o MediaType=prophoto

Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)."

TOP

Paper Source

Syntax: -o InputSlot=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

[user@zzz /yyyy]$ lpr -P MP520 Sample.png -o InputSlot=front

Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)."

TOP

Print Quality

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 MP520 Sample.png -o CNQuality=3

Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)."

TOP

Halftoning

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 MP520 Sample.png -o CNHalftoning=pattern

Some parameters may be disabled when they are configured with other options. For details, see "Print Option Combinations (lpr)."

TOP

Color Balance

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 MP520 Sample.png -o CNBalanceC=-20

TOP

Intensity Specification

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 MP520 Sample.png -o CNDensity=-20

TOP

Contrast Specification

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 MP520 Sample.png -o CNContrast=-20

TOP

Print Purpose

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 MP520 Sample.png -o CNRenderIntent=vivid

TOP

Brightness Specification

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 MP520 Sample.png -o CNGamma=1.4

TOP

Grayscale Printing

Syntax: -o CNGrayscale

Example: Printing Sample.png with grayscale

[user@zzz /yyyy]$ lpr -P MP520 Sample.png -o CNGrayscale

TOP

Page Size Specification

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

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)

Custom.value1xvalue2mm

Custom

Default Value

a4 (depends on your system setting)

Example: Printing Sample.png on A5 size paper

[user@zzz /yyyy]$ lpr -P MP520 Sample.png -o PageSize=a5

Some parameters 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 MP520 Sample.png -o PageSize=Custom.210x297mm

TOP

Scaling Specification

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 MP520 Sample.png -o CNPercent=200

TOP

Print Position Adjustment

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 MP520 Sample.png -o CNLocation=center

TOP

Copies

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 MP520 Sample.png -o CNCopies=10

TOP