Xerox 5222 manual Example, Print lpr, Command format, Command options

Models: 5222

1 444
Download 444 pages 41.01 Kb
Page 241
Image 241
Print (lpr)

 

UNIX TCP/IP

-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.

NOTE: Print data which consists of multiple files sent in one print instruction cannot be deleted file by file. All the files will be deleted together.

NOTE: This command is invalid if no options are specified, or if there is no print data which matches the option.

NOTE: You can only delete print data from the same workstation used to send the print data. You cannot delete print data sent by other workstations.

NOTE: When a command to delete print data is received, the file will be deleted even if it is in the process of being printed. Any unprinted data will be cancelled after the file has been deleted.

Example

To delete the print data from printer fxPS for job number 27, enter the following command.

%cancel fxPS-27

To delete all the print data from printer fxPS, enter the following command.

%cancel fxPS -e

SunOS

This section describes printing from a workstation running SunOS. See the manuals supplied with the workstation for full details.

Print (lpr)

The lpr command is used to print.

Command format

/usr/ucb/lpr [-P printer name] [-# number of copies] [-C parameter] File name

Command options

The following command options are available.

-P printer name

This option specifies the printer name registered at /etc/printcap. If this option is omitted, print data will be output to the default printer lp.

-# number of copies

This option specifies the number of copies. If one lpr command is issued to print multiple files, the number of copies specified by this option will apply to all the files.

This option is only valid in the spool mode.

241

Page 241
Image 241
Xerox 5222 manual Example, Print lpr, Command format, Command options