beautypg.com

Authentication printing, Specifying the user name – Dell 3110cn Color Laser Printer User Manual

Page 365

background image

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

% lp -d dell3110cn 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 dell3110cn as the default printer for printing, type as follows.

% setenv PRINTER dell3110cn

% 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 dell3110cn -o r -o ILT filename

To print using file format:

To print text files:

% lp -d dell3110cn filename

To print XWD files:

% lp -d dell3110cn -o XWD filename

To print TIFF format files:

% lp -d dell3110cn -o TIF filename

To print PostScript files:

% lp -d dell3110cn filename

To print PostScript files as text files:

% lp -d dell3110cn -o TX filename

However, for PostScript files with options set up, such as paper selection, etc., when the same option
is specified, it will be ignored.

Authentication Printing

This section provides information on how to specify the user name used for authentication printing in
the environment variable.

Specifying the User Name