How do I see the printjobs in the queue and remove my job?
If you’re still on the computer from which you submitted the job, use the command lpq -a. Or in general, you can use the command lpq -a -h printserver. To remove a job, if you’re still on the computer from which you submitted the job, use the command lprm jobnumber, where the jobnumber can be seen in the output from lpq (see previous paragraph). If you’re on a different computer and need to remove your job, use the command lprm -h printserver -U yourusername jobnumber. There exist other printer-related commands that start with “lp” (which stands for “line printer”). Type lp and then hit TAB a couple times to see a list of possible command completions. To learn more about a particular command, take a look at the built-in manual page, e.g., man lpq.