Off hand do you know the command line to kill the queue, If so I'll put a s menu item 'Stop Printing Now' with a printer image with a red circle around it with a red line across itdisciple wrote:I imagine so, but:So wouldn't that stop cups from printing?
1) The problem is not just to interrupt a print job. The problem is to cancel a print job. If you restart cups the print job stays in the queue - with Puppy's default setup you need to run a command in the console to cancel a job
2) Killing cups before opening the web interface is a BAD idea. Why are you doing it? Is it needed for some sort of scan for new drivers or something?
There is no reason why users won't want to access the CUPS control panel while a print job is being processed. I've certainly done it a number of times.
If you NEED to kill CUPS for printer setup or something, you either need separate menu entries for setting up a printer and for general printer management, or you need a dialogue giving you the choice. I prefer the first solution, although it would still be good to have a warning that you are about to restart CUPS and interrupt any current print jobs.
With regard to solving the bug (assuming it is still present - I think you might have updated to CUPS 1.4?), there are at least two options:
1) Patch cups to allow cancelling print jobs without logging in.
2) Simply add that one line in my post to cupsd.conf, which will mean you need to log in to control the printers.
The reason why I restart cups with the new script is that, a new users were having lots of problems setting up printers, They could not add a printer if its already started, you need to stop cups and restart. sure we know how but they don't, most have to reset the pc to get around this, how frustrating. Also if cups hangs, this fixes that problem. tell ya the truth I think it wouldn't stop printing if you restart cups anyways. So all is good then, Just need the command to cancel printing and i'll quickly add it to the printer packages for the next release which is being finished today. If you don't know its ok i'll figure it out, just that i'm once again on a limited time frame with the window of opportunity closing on beta2
Thanks for the help
ttuuxxx
PS WhoDo your giving me a brain cramp with all the links to the icewm packages, lol Its not just Odelite its the ubuntu and xp one also, that have system links coming from it, and that one theme has system links from the ubuntu and xp theme combined, lol what a mess, I've done 4 of them so far.
I'll get it done
ttuuxxx