Go to the previous, next section.

lprm

The command for removing a job from the printer spool is lprm. If your job is currently printing and you wish to stop it, you can use the lprm with no arguments.

NOTE: removing the currently printing job can mess up some printers, notify the Tutors or Sysgroup if you need to do this.

To remove a specific job, you will need to use lpq to get the job number, and then use the job number as an argument to lprm. Assuming the queue shown in section lpq, the following command would remove `lynnette''s print job.

lprm 461

The argument `-' will remove all jobs that you own.

As with lpr and lpq you can specify a printer with the `-P' option.

Go to the previous, next section.