printer queue handling 

Usage 

remove all 

lprm -

remove jobs individually 

lprm request-ID

sample:

lprm 27
lprm -P pkp31f3 237

Help 

lprm - remove print requests from the print queue

/usr/ucb/lprm [ -P destination ] [ - ] [ request-ID ... ] [ user ... ]
  • If a single `-' is given, lprm will remove all jobs which a user owns. If the super-user employs this flag, the spool queue will be emptied entirely.

Symptom 

When the cs4 print queue name is changed, that print jobs in the iitrc (Solaris) could not be deleted.

Using 'lprm -' won't work.

Solution 

Delete everything under /var/spool/print

documented on: 06-30-99