Printing, Solaris/hp-ux – Xerox WorkCentre M118-M118i-15205 User Manual

Page 48

Advertising
background image

4 UNIX TCP/IP

48

Xerox CopyCentre/WorkCentre 118 System Administration Guide

3.

Repeat the procedure for all workstations that will be sending jobs to the machine.

The UNIX TCP/IP installation is now complete.

If the test print fails, refer to Problem Solving chapter for assistance.

Printing

Solaris/HP-UX

This section describes printing from workstations running Solaris or HP-UX. Refer to
the manuals supplied with the workstation for full details.

Print (lp)

The lp command is used for printing.

Command format

lp [-d printer name] [-n number of copies] File name

Command options

The following command options are available.

• -d printer name

Specify the printer name registered by the lpadmin command as the -d option. If this
option is omitted, the default printer lp will be used.

• -n number of copies

This option specifies the number of copies. If one lp command is issued to print multiple
files, the number of copies specified will apply to all the files. However, this is only
effective when the machine is in the spool mode. In the non-spool mode, the client must
be a Windows NT machine to use this option.

NOTE: Some options which are not listed here (e.g. -m option) and which are not
processed by the workstation sending the print instructions, will not be valid.

NOTE: In the spool mode, up to 32 files can be printed by one lp command. Any files
specified after the 32nd file will be ignored.

Example

To print a file named file1 to a printer named fxPS, enter the following command:

%lp -dfxPS file1

To output three copies of file1 and then three copies of file 2 to fxPS, enter the following
command:

%lp -dfxPS -n3 file1 file2

Advertising