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 $