Linux lprm command
Linux lprm command is used to remove a job from the printer storage column
Printer unfinished work will be placed into the printer storage column, this command can be used to often not sent to the printer job cancellation. Since each printer has a separate storage column, you can use this command to set the desired effect -P print column machine. If not set, it will use the system default printer.
This command checks whether the user has sufficient permissions to delete the specified files, in general, only the owner of the file or system administrators have this privilege.
grammar
/usr/bin/lprm [P] [file...]
Examples
The printer will be removed hpprinter No. 1123 work
lprm -Phpprinter 1123
No. 1011 will be removed from the default printer to work in
lprm 1011