Dell 5100cn Color Laser Printer User Manual

Page 241

Advertising
background image

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 dell5100cn, type as follows.

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

% setenv LPDEST dell5100cn

% 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 dell5100cn with landscape, specify as follows.

% lp -d dell5100cn -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.

-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

This option converts text to single-byte text and sets printing to start from the nth column.

-y outline=n

Sets printing to start from the nth line.

-y font= font

Sets the font for printing single-byte alphanumeric characters. If the font specified is not available for the

printer, the default fonts are used.

Advertising