PRINTING USING XEROX UTILITIES AND LPR UTILITIES (DOS AND UNIX)

lpq in UNIX

Use the lpq command to show the content of the DocuPrint printer queue for a specific virtual printer, including the printer status, the status of the UNIX print daemon, and the name of the host from which the job originated.

If you do not use options to specify a particular job number or user name, the system displays information on all jobs in the default print queue. Refer to the lpq command man page for more information.

To display the status of a print queue, type the lpq command and its options on the command line using the following syntax:

Syntax lpq <options>

Options The options are case sensitive. You may enter more than one option at a time.

-Pprinter

Specifies the queue you want to view. If you do not enter this option, the system displays information from the queue of the printer specified in the UNIX printer variable. If the printer variable is not set, the system uses the queue for the default printer.

job #

Displays information on a specific job.

username

Displays only jobs submitted by a particular user.

-I

Displays the queue information in long format, including the stapling and plex options.

+(interval)

Specifies that the system periodically display the contents of the print queue until it is empty. If you supply a value in seconds for the interval, the workstation waits the specified time before displaying the queue contents.

Example The example below shows the command to display at ten-second intervals the contents of the print queue submitted by Susan to the printer “rushmore.”

lpr -Prushmore +10 susan

3-26

GUIDE TO SUBMITTING JOBS FROM THE CLIENT

Page 64
Image 64
Xerox 721P87481 manual Lpq in Unix, Lpr -Prushmore +10 susan