Printing (solaris) – Dell 5110cn Color Laser Printer User Manual

Page 357

Advertising
background image

% lpr -Pa4d filename

4.

Printing (Solaris)

This section provides information on printing that makes use of the filter. To print from Solaris, specify the
printer registered during the installation of filters as the output destination.

NOTICE:

To use the lp command, make sure the operating environment of the spooler has been set

up correctly (enabled, available) using the lpstat command (lpstat-p all). For details on the
options of the lp command and the lpstat command or how to make use of them, see the related
manuals of Solaris.

Printing From Solaris

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

NOTE:

The name of the printer can be confirmed by executing lpstat -v.

To change the default printer temporarily for printing:

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

% setenv LPDEST dell5110cn

% lp filename

NOTE:

Using this method, a default printer can be set up for each user.

NOTE:

The above example describes the setup method executed when csh is used.

To select a paper tray for printing:

To select a paper tray for printing, specify the paper tray after the -y option of the lp command.

NOTE:

Depending on installed options, the available paper trays are different.

To select and print to a letter size paper of the printer named dell5110cn with landscape, specify as follows.

Advertising