User Guide
190
Chapter 6 Ethernet Print Service (for UNIX)
Cancel (lprm Command)
This section explains how to cancel a print job submitted from the network.
Format
-P<Logical Printer Name>
Specify a logical printer name immediately after P (with no space) to cancel a print job
under processing by the specified printer. If no logical printer name is specified, a print
job under processing by the logical printer lp is canceled.
<Job ID> Specify a job ID to cancel its printing. The status display command [lpq] displays
job IDs. If this is omitted, every possible print job is canceled.
Examples of use
Example 1:Displaying the status of the logical printer [plt01h] and canceling the printing of
job ID [124].
Job IDs on the 6030/6050 Wide Format side and the client side are allocated
separately.
% lpq -Pplt01h
Job ID Sent By Status Prior. Document Name Prt Size(KB)
123 williams Printing Normal drawa.hpgl O1H 980
124 smith Queued Normal drawb.hpgl O1H 5963
cosmos: sending to oklahoma
Rank Owner Job Files
1st smith 416 drawe.hpgl
2nd smith 417 drawf.hpgl
% lprm -Pplt01h 124
job 124 dequeued
%
lprm [-P<Logical Printer Name>] <Job ID>