Printing (hp-ux), Printing from hp-ux – Dell 5110cn Color Laser Printer User Manual

Page 369

Advertising
background image

Printing (HP-UX)

This section provides information on printing from the registered logical printer during the installation.

Printing From HP-UX

To print to the default printer:

If the printer is registered as the default printer, the name of the printer can be shortened and
specified as shown in the following example.

% lp filename

To print to other printers:

To print to a printer named dell5110cn, type as follows.

% lp -d dell5110cn filename

To change the default printer temporarily for printing:

To change the default printer, set the printer name in the environment variable PRINTER.
To set a printer named dell5110cn as the default printer for printing, type as follows.

% setenv PRINTER dell5110cn

% lp filename

To print with added options:

To print with the options, specify the option of the lp command using -o as follows.
The available options are the same as txt2ps2/tiff2ps/xwd2ps2.
Depending on installed options, the available paper trays are different.

%lp -d dell5110cn -o r -o ILT filename

To print using file format:

To print text files:

% lp -d dell5110cn filename

To print XWD files:

% lp -d dell5110cn -o XWD filename

To print TIFF format files:

% lp -d dell5110cn -o TIF filename

Advertising