3. Printing
Printing Guide — Printing from UNIX 299
— Title
The title that is printed on the banner page can be specified using the “-t title” parameter
with the “lp” command. The default value is determined by the “lp” command and it is
often the name of the print file. If multiple files are printed using the same “lp” command
the default title is set to the name of the first file by the “lp” command.
General Options
The following options apply to all print files.
NOTE: Option commands are case sensitive and must be entered exactly as shown.
— Print Language
The “net_est451c” program needs to know what printer language is used in each of the
files that it is printing so that it can issue the correct commands to select various
options. The following options are valid for the print languages.
All PCL5e jobs automatically send the “<esc>&k2G” command to convert the line-feed
character into a carriage-return – line-feed sequence. If the PCL5e job contains some of
its own escape sequences it may override this setting.
The default print language is “auto”.
Example: The command to specify that a file is PostScript is “lp –o ps filename”.
— Stapling
The staple position can be specified using the following option.
Option Value Alternate Value Description
auto Each file to be printed is examined to see if it starts with
the “%!” sequence. If it does, then it is assumed that it is
a PostScript file, otherwise it assumes that it is a plain
text or a PCL6 file.
pcl The print file is always treated as a plain text or a PCL6
file.
postscript ps The file is always treated as a PostScript file.
raw The file is treated as a fully formatted file that already
contains all the necessary commands. The file is sent to
the printer without any modifications. In this mode no
other options are valid and a banner page is not printed.
Option Value Alternate Value Description
staple=0 Stapling is turned off.
staple=1 Staple in the top left corner of a portrait page and the
upper right corner of a landscape page.
staple=2 Put two staples on the left side of a portrait page or the
top side of a landscape page printed on long-edge-feed
paper. This command has no affect when the paper is
fed from the short-edge side.
staple=3 Staple in the bottom left corner of a portrait page and
the upper left corner of a landscape page.