Page 1 of 1

Can't cancel CUPS printjob

Posted: Mon 22 Jan 2007, 07:29
by jeffplata
I have two print jobs started since jan 19 (sat) with abiword that I can't cancel up to now. When I do cancel using browser:localhost:631 in manage jobs it gives me a 'client-error-forbidden' error. Print jobs started with the test page (in 631) can be cancelled ok.

Please help what shall I do next. Printer is dot matrix epson fx 1170. Used epsonc ppd from linuxprinting.org. Seems ok in test page but no good in abiword.

TIA

Posted: Mon 22 Jan 2007, 09:07
by Gn2
Can you print OK - "client-error" is a mis-configuration.
Try

Code: Select all

lpc (enter) status (enter) 
to find print job number.
To quit lpc utility type

Code: Select all

 q (enter)
Then use

Code: Select all

lpr xx_number_of_job_to_kill
.

Posted: Tue 23 Jan 2007, 00:27
by jeffplata
I wonder why I don't see no job code from the output below. Is this correct? In 631 I can see that the job IDs are FX1170-7 and FX1170-8. Using lpr with either yields error "unable to access xxx - no such file or directory". BTW, isnt lpr used to print a file?

Code: Select all

lpc> status
FX1170:
        printer is on device 'parallel' speed -1
        queuing is enabled
        printing is enabled
        2 entries
        daemon present
lpc> 

Posted: Tue 23 Jan 2007, 01:05
by Gn2
Right you are lpc doesn't readily show job I.D.

And killing any uses lprm (or) from localhost:631 job Admin

Rather than delving into lpc options:
use

Code: Select all

 ps ax 
to get process I.D.

Still doesn't solve your print query - "no-client possible" error Msg.
Any jobs still in queue - will not stop new jobs, once printing is OK
Those old jobs will execute. (kill prior to enabling will stop process from queued buffered printer jobs spitting out paper.)

Posted: Tue 23 Jan 2007, 02:14
by jeffplata
Cant do it with 631, this is where I'm getting the client-error. lprm did the job, one at a time. Thanks. Problem solved.