Status Display (lpq Command)

This section explains how to display the status of a file that has been specified for printing using the lpr command.

Format

lpq [-P<Logical Printer Name>]

-P<Logical Printer Name>

Enter the name of the logical printer immediately after the P (with no space). After doing this, the status of the file(s) being processed by the specified logical printer will display. If a logical printer name is not entered, the status of file(s) named lp will display.

Examples of use

Example 1:Display the status of a file transferred to logical printer [plt00h] ([lpq -P

oklahoma] for 6050A).

If no file is being processed, the following message will be displayed.

%lpq -Pplt00h no entries

Example 2:Display the status of a file transferred to logical printer [plt01h] ([lpq -P

oklahoma] for 6050A).

When the transfer of the [drawd.hpgl] file to the Xerox 6030/6050/6050A Wide

Format is completed, the following message will be displayed.

%lpq -Pplt01h

Job ID

Sent By

Status

Prior.

Document Name

Prt

Size(KB)

123

williams

Queued

Normal

drawd.hpgl

O1H

980

%

 

 

 

 

 

 

244

Chapter 6 Ethernet Print Service (for UNIX)

Page 272
Image 272
Xerox 6030, 6050A manual Status Display lpq Command, 244