You can also cancel just the job that is currently printing (if you submitted it) by typing the printer name in place of the request id as follows:
$ cancel printername |
where printername is the name of the printer to which you sent the request.
A message is displayed telling you that the request is canceled. The next job in the queue begins printing
In the following example the currently printing request has been canceled:
$ cancel pinecone request "pinecone-3" cancelled $ |
Your system administrator can log in as root or lp and cancel the currently printing request using the printer name as the argument for the cancel command.