PDA

View Full Version : Clearing print queue


Chris NS
2006-10-03, 06:25 AM CDT
I recently sent a print job to a printer which cause my printer to freeze. Normally, I cancel the print job, but on this occasion I forgot and switched the computer off. As far as I can tell, when you reboot FC it attempts to finish off printing uncompleted print jobs, but in this case it means that it's sending the same print job to the printer and freezing it all over again. However, printing jobs stored by FC don't seem to show up in the print queue shown in GNOME, so I don't know how to get rid of it.

Anyone know how to reset cups back to its starting state with no hidden print jobs wanting to get done.

(FC5, HP 690C)

tashirosgt
2006-10-03, 07:19 AM CDT
If the machine freezes before you have a chance to do much then perhaps you must boot from the 1st Fedora cd in the rescue mode and add a command to /etc/rc.d/rc.local (/mnt/sysimage/etc/rc.d/rc.local) that will cancel the print jobs. The man pages indicate that
cancel -a
is such a command, but I have never tried this.

ibbo
2006-10-03, 07:21 AM CDT
lprm works too

ibbo

Chris NS
2006-10-03, 08:09 AM CDT
Good news: lprm - worked, sort of. I did that, switched the computer off, rebooted, and the flashing orange light on the printer which usually means it's stuck stayed off.

Bad news: the moment I tried to print something else, the light came on again. I think cups is playing up again. (Cups has never been that reliable for an HP 690C - still, not many things are for a printer that old.) I'm beginning to think I should go back to an older version of cups. Is there any way of retrieving rpms of old updates?

kokocamp
2006-10-17, 10:44 PM CDT
lprm doesn't worked for me. It's replied a message:Unable to cancel job(s)! While cancel -a command didn't responds anything. I'am currently using HP Deskjet 695C, connected with remote CUPS. The lpstat -a command replied: HP accepting requests since Jan 01 00:00 What's wrong with this?