Printing and using the utilities, Printing (solaris) – Dell 5130cdn Color Laser Printer Uživatelská příručka
Stránka 267
Printing and Using the Utilities
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 dell5130cdn, type as follows.
% lp -d dell5130cdn 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 dell5130cdn as the default printer for printing, type as follows.
% setenv LPDEST dell5130cdn
% 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 cache 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 dell5130cdn with landscape, specify as follows.
% lp -d dell5130cdn -y landscape -y letter filename
The following options can be specified by the lp command.
To print text files:
NOTE:
It prints according to the length and width specified by the lpadmin command.