The 'lprm' command (Line Printer Remove) is used to cancel print jobs from the print queue. The 'lpr' command submits jobs to print, 'lpq' shows the queue status, and 'lpc' is the printer control program. Only lprm actually removes queued print jobs.