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.
$ cancel printername
In the previous example, printername is the name of the printer to which you sent the request.
A message informs you that the request is canceled. The next job in the queue begins printing
In the following example, the current print request has been canceled.
$ cancel jetprint jetprint7: cancelled $