Xerox C123/C128 M123/M128 123/128 Copier User Manual


 
4 UNIX TCP/IP
56 Xerox CopyCentre/WorkCentre/WorkCentre Pro 123/128 System Administration Guide
-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
Delete (cancel)
The cancel command is used to delete print data.
Command format
cancel [printer name] [job number]
Command options
The following command options are available.
Printer name
This option specifies the printer name. The cancel command can be effectively used
with the combined use of -a, -e and -u as shown below. This option is only valid in the
spool mode.
-a Deletes all the print data belonging to the user issuing the command,
from the specified printer.
-e Deletes all the print data from the specified printer.
-u user name Deletes all the print data belonging to the specified user, from the
specified printer.
job number
This option specifies the job number of the print data to be deleted. These numbers can
be checked by issuing an lpstat command.
This option is only valid in the spool mode.