Some useful commands to manage print jobs
lpstat -p -d | To get a list of available printers, along with their status |
lpstat -a | To check the status of all connected printers, including job numbers |
cancel job-id or lprm job-id | To cancel a print job |
lpmove job-id newprinter | To move a print job to new printer |
Taken from Introduction to Linux course (LFS101) from Linux Foundation here