Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 315 — #341
i
i
i
i
i
i
i
i
13
Printer Operation
13.7.7 CUPS Browsing: Deleting Print Jobs
If a CUPS network server broadcasts its queues to the client hosts via
browsing and a suitable local cupsd is active on the client hosts, the client
cupsd accepts print jobs from the applications and forwards them to the
cupsd on the server. When a cupsd accepts a print job, it is assigned a new
job number. Therefore, the job number on the client host is different from
the job number on the server. As a print job is usually forwarded immedi-
ately, it cannot be deleted with the job number on the client host, because
the client cupsd regards the print job as completed as soon as it has been
forwarded to the server cupsd. To delete the print job on the server, use a
command such as the following to determine the job number on the server,
provided the server has not already completed the print job (i.e., sent it to
the printer):
lpstat -h <print-server> -o
Using this job number, the print job on the server can be deleted:
cancel -h <print-server>
<queue>-<jobnumber>
13.7.8 Defective Print Jobs and Data Transfer Errors
Print jobs remain in the queues and printing resumes if you switch the
printer off and on or shut down and reboot the computer during the print-
ing process. Defective print jobs must be removed from the queue with
cancel.
If a print job is defective or an error occurs in the communication between
the host and the printer, the printer prints numerous sheets of paper with
unintelligible characters, as it is unable to process the data correctly.
1. To stop printing, remove all paper from inkjet printers or open the
paper trays of laser printers. High-quality printers have a button for
canceling the current printout.
2. The print job may still be in the queue, as jobs are only removed after
they are sent completely to the printer. Use lpstat -o (or lpstat
-h hprint-serveri -o) to check which queue is currently print-
ing. Delete the print job with cancel hqueuei-hjobnumberi (or
cancel -h hprint-serveri hqueuei-hjobnumberi ).
315SUSE LINUX Enterprise Server










