Reading Printer Job And Printer Status; Retrieve The Status Of The Printer - Océ imagePRESS C7010VPS series Technical Manual

Table of Contents

Advertisement

Reading printer job and printer status

Retrieve the status of the printer

The user may read the actual printer status information by applying an LP client programme such
as lpq (BSD style) or lpstat (System V style).
Retrieve the status of the printer
The printer status and spool queue can be displayed using the lpq command. The queue name
attribute is ignored; all print jobs are shown. Print jobs that have been processed by the PDL
interpreter are not in the spool queue anymore. These jobs are in the system's Schedule Queue
or Waiting Queue instead.
The content of the printer spool queue is shown via lpq and is protocol independent. That is, lpq
shows jobs submitted via LPD but also jobs submitted with other protocols. The jobname shown
may differ depending on the submission protocol.
The first line of the generated message describes the system's status.
The lpd standard does not define the output format, but there is a de-facto standard to which the
implementation complies:
Printer is ready and printing
Rank
active
1st
And when the verbose listing is requested using lpq's "-l" option:
Printer is ready and printing
John:
John:
Here is an example of lpq -l execution showing a job with several files:
Printer is ready and printing
John:
imagePRESS C7010VPS series v2.2
Owner
Job
John
335
John
336
active
myjob.ps
1st
anotherjob.ps
1st
anotherjob.ps
Frame_A3_LandScape.ps
Frame_A4_LandScape.ps
Frame_A4_Portrait.ps
Frame_B4.ps
Frame_Folio_LandScape.ps
Frame_Foolscap.ps
Frame_Ledger_LandScape.ps
Frame_LegalGov_LandScape.ps
Reading printer job and printer status
Files
Total Size
myjob.ps
1264 bytes
anotherjob.ps
13243 bytes
[job 335ibis]
1264 bytes
[job 336ibis]
13243 bytes
[job 1AURIGA]
13243 bytes
1168 bytes
1168 bytes
1185 bytes
1185 bytes
1168 bytes
1168 bytes
1177 bytes
1168 bytes
Chapter 3 - The LPD connection
39

Advertisement

Table of Contents
loading

Table of Contents