Can't cancel CUPS printjob

Booting, installing, newbie
Post Reply
Message
Author
jeffplata
Posts: 11
Joined: Fri 24 Nov 2006, 06:19

Can't cancel CUPS printjob

#1 Post 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

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#2 Post 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
.

jeffplata
Posts: 11
Joined: Fri 24 Nov 2006, 06:19

#3 Post 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> 

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#4 Post 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.)

jeffplata
Posts: 11
Joined: Fri 24 Nov 2006, 06:19

#5 Post 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.

Post Reply