User guide

Using the lpr utilities Using the lpr Utilities for DOS and UNIX
2-6
The modulus is the number of different items in a set,
for example precut tabs or rainbow paper, before the
set repeats. For example, a set of 5 precut tabs has a
modulus of 5.
Paper color = white, clear, yellow, pink, blue, green, or
a text string excluding the colon and comma for a
custom color. The carat character (^) is not required
for a custom color string using spaces in this media
option.
Weight = paper weight in gsm (grams per square
meter).
For example:
lpr -P ps1 -C"(media=USLetter:PreCutTab
5:white:163)"
lpr -P ps1 -C"(media=8 10:Plain:yellow:163)"
You may omit a value for any of these options by
entering a colon (:) to separate the field, but leave the
field value empty.
The following example shows how to specify the paper
size and color and omit the other options:
lpr -P ps1 -C"(media=a4::blue:)" test.ps
The following options allow you to specify just one option
for the paper stock.
–C"(mediaType=<type>)"
Specify the media type. Type options are the same as
for the prefinish option.
–C"(mediaSize=<size>)"
Specify the paper stock size. The options are
USLetter, USLegal, USLedger (17 x 11 inches),
Tabloid, USStatement, a0 through a10, isob0 through
isob10, jisb0 through jisb10, or custom where a
custom size is entered as width (x) and length (y) in
either inches or millimeters.
–C"(mediaColor=<color>)"
Specify the paper color. Color options are the same as
the color options given above. If a custom color text
string requires spaces, the string must be enclosed
with the carat character (^).