4.PRINTING FROM UNIX
Printing from an Application 133
4 PRINTING FROM UNIX
Page Length
The number of lines to print on a page can be specified with the following option.
As this equipment is a page printer we cannot change the physical length of a piece of paper so the actual effect of this
command is to change the value for lines per inch so that the requested number of lines is printed on the page. The actual
page length may differ from this value if the top margin or the text length option is used.
If this option is not specified the PJL command will not be sent so the printer’s default value will be used. The minimum
page length allowable is 5. If value is less than 5, page length is set to 5.
The command to specify 66 lines per page is “lp -o pl=66 filename”.
Color Mode
The color mode for printing mode can be selected using the following options.
Example: The command to set the color mode for the print job is
“lp -o colormode=COLOR filename”
Pure Black and Pure Gray
The pure black and pure gray mode can be selected using the following options.
Example: The command to set the pure black and pure gray mode for the print job is
“lp -o pureblackgray=1 filename”
Option Value Alternate Value Description
pl=value Set the lines per page to value.
Option Value Alternate Value Description
colormode=
COLOR
color Set color mode printing for the print mode.
colormode=
GRAYSCALE
grayscale Set grayscale mode printing for the print mode.
colormode=
AUTO
auto Set auto color mode printing for the print mode.
colormode=
2KR
2kr Set twin color mode (Black and Red) printing for the
print mode.
colormode=
2KG
2kg Set twin color mode (Black and Green) printing for the
print mode.
colormode=
2KB
2kb Set twin color mode (Black and Blue) printing for the
print mode.
colormode=
2KC
2kc Set twin color mode (Black and Cyan) printing for the
print mode.
colormode=
2KM
2km Set twin color mode (Black and Magenta) printing for
the print mode.
colormode=
2KY
2ky Set twin color mode (Black and Yellow) printing for the
print mode.
colormode=
2KW
2kw Set twin color mode (Black and White) printing for the
print mode.
Option Value Alternate Value Description
pureblackgray=0 Disable the pure black and pure gray mode.
pureblackgray=1 Enable the pure black and pure gray mode.