Clearing an APSS cups/samba print queue

If one of our network printers gets stuck for no good reason it may be because of its inability to deal with a particular job. One thing that can be done is to clear out the print queue for that particular printer as follows:

Turn off the printer. That's not really necessary but it makes it clean. Then connect to apss as root.

Run "mozilla localhost:631 &" and STOP the print queue.

From the root command line enter "cancel -a <printername>"

Then remove the samba tlb file (i.e. "rm /var/cache/samba/printing/<printername>.tlb"

From the mozilla cups interface START the printer and print a test page.

Then turn on the printer. The test page should print.

Users will hopefully realize that deleted jobs in the queue will need to be resent.

Bill Szkotnicki, 2005/Nov/28