![background image](/i/dell/157615/dell-3100cn/h/dell-3100cn-097.png)
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.
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.
To print to other printers:
To print to a printer named
dell3100cn
, type as follows.
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
dell3100cn
as the default printer for printing, type as follows.
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.
To select and print to a letter size paper of the printer named
dell3100cn
with landscape, specify as follows.
The following options can be specified by the
lp
command.
To print text files:
-y double
Sets printing to 2-column printing.
-y landscape
Rotates the image by 90
o
and uses the paper in the landscape orientation.
-y size=
n
Sets the font size to n point.
-y outcolumn=
n
% lpr -Pa4d
filename
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.
% lp
filename
% lp -d dell3100cn
filename
NOTE:
The name of the printer can be confirmed by executing lpstat -v.
% setenv LPDEST dell3100cn
% 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.
NOTE:
Depending on installed options, the available paper trays are different.
% lp -d dell3100cn -y landscape -y letter
filename
NOTE:
It prints according to the length and width specified by the
lpadmin
command.