Cancel a print job via command line

To cancel your print job for any reason, do the following commands in a terminal:

List all print jobs (to see print jobs initiated by other users, you need root permissions):

lpq

Remove your print job by job ID. For example, if your job ID is 13, you would issue the command:

lprm 13


Add comment

You can add a comment by filling out the form below. Plain text formatting. Web and email addresses are transformed into clickable links. Comments are moderated.