Trying to delete jobs waitring for printer create by me
Why am I getting the below message from KJobViewer when trying to delete print jobs that were created by me, and how can I fix it? 'Unable to perform action "Hold" on selected jobs. Error received from manager: You don't have access to the requested resource.' I have subsequently managed to clear the print jobs by resetting the Epson Stylus 800+, but I would like to know why I got this message, and how to resolve it in future. Is it possible that if I logged on as root, that I would then be able to access the KJobViewer and delete the jobs for my user? Using CUPS('Cannot Undo Print Stuff') from the SuSE 9.0 install. -- The Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================
On Wed, 2004-10-06 at 20:13, Hylton Conacher (ZR1HPC) wrote:
Why am I getting the below message from KJobViewer when trying to delete print jobs that were created by me, and how can I fix it?
'Unable to perform action "Hold" on selected jobs. Error received from manager: You don't have access to the requested resource.'
I have subsequently managed to clear the print jobs by resetting the Epson Stylus 800+, but I would like to know why I got this message, and how to resolve it in future.
Is it possible that if I logged on as root, that I would then be able to access the KJobViewer and delete the jobs for my user?
Using CUPS('Cannot Undo Print Stuff') from the SuSE 9.0 install.
Are you a cups admin? You need admin access to modify print jobs. -- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*
On 2004-10-07 23:46, Ken Schneider wrote:
Are you a cups admin? You need admin access to modify print jobs.
That should not be so... you need access to jobs at least. The setting is done in '/etc/cups/cupsd.conf' - this is not the only combination possible: |<Location /jobs> |# |# You may wish to limit access to job operations, either with Allow |# and Deny lines, or by requiring a username and password. |#Cer | AuthType BasicDigest | AuthClass Group | AuthGroupName sys | |# AuthType Basic |# AuthClass User | Order Deny,Allow | Deny From All | Allow From 127.0.0.1 | Allow From 192.168.100.2 |</Location> I don't know if you need to add yourself with lpadmin first - certainly for admin, but to delete our own jobs, it shoudn't be necesary. -- Cheers, Carlos Robinson
On Wed, 2004-10-06 at 19:13, Hylton Conacher (ZR1HPC) wrote:
Why am I getting the below message from KJobViewer when trying to delete print jobs that were created by me, and how can I fix it?
'Unable to perform action "Hold" on selected jobs. Error received from manager: You don't have access to the requested resource.'
I have subsequently managed to clear the print jobs by resetting the Epson Stylus 800+, but I would like to know why I got this message, and how to resolve it in future.
Is it possible that if I logged on as root, that I would then be able to access the KJobViewer and delete the jobs for my user?
Using CUPS('Cannot Undo Print Stuff') from the SuSE 9.0 install.
Open up a web browser and for the URL use http://localhost:631/ This will give you access to CUPS, then you can view and kill jobs as desired. IIRC this was talked about not that long ago, since July IMS. Mike
Mike McMullin wrote:
On Wed, 2004-10-06 at 19:13, Hylton Conacher (ZR1HPC) wrote:
[snip]
Using CUPS('Cannot Undo Print Stuff') from the SuSE 9.0 install.
Open up a web browser and for the URL use http://localhost:631/ Tnx Mike,
I had previously been into the web tool for CUPS but I didn't have enough patience whilst it was deleting jobs. A subsequent visit, and a little time, enabled me to clear the print jobs properly. -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================
On Sun, 2004-10-10 at 01:08, Hylton Conacher (ZR1HPC) wrote:
Mike McMullin wrote:
On Wed, 2004-10-06 at 19:13, Hylton Conacher (ZR1HPC) wrote:
[snip]
Using CUPS('Cannot Undo Print Stuff') from the SuSE 9.0 install.
Open up a web browser and for the URL use http://localhost:631/ Tnx Mike,
I had previously been into the web tool for CUPS but I didn't have enough patience whilst it was deleting jobs. A subsequent visit, and a little time, enabled me to clear the print jobs properly.
Glad to help, all it takes is a bit of patience. :) I've had to clear that queue a few times and this worked for me. Mike
Mike McMullin wrote:
On Sun, 2004-10-10 at 01:08, Hylton Conacher (ZR1HPC) wrote:
Mike McMullin wrote:
On Wed, 2004-10-06 at 19:13, Hylton Conacher (ZR1HPC) wrote:
[snip]
Using CUPS('Cannot Undo Print Stuff') from the SuSE 9.0 install.
Open up a web browser and for the URL use http://localhost:631/
Tnx Mike,
I had previously been into the web tool for CUPS but I didn't have enough patience whilst it was deleting jobs. A subsequent visit, and a little time, enabled me to clear the print jobs properly.
Glad to help, all it takes is a bit of patience. :) I've had to clear that queue a few times and this worked for me. Tnx for the help so far Mike, however you ain't off the hook yet :)
when I go into CUPs via the web interface and click on jobs I see there is one job there listed as held that I held. I have tried to delete and resume it, and each time I get this message: Error: client-error-forbiddenheldlocalhost:631 Asides from the job sitting as a job in CUPS, each time I log in, I get a notification from KJobViewer about that single job. Is there not a file I can edit and empty to clear this job? Using CUPS -- The Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================
* Hylton Conacher (ZR1HPC) <hylton@global.co.za> [10-11-04 16:05]: ...
when I go into CUPs via the web interface and click on jobs I see there is one job there listed as held that I held.
I have tried to delete and resume it, and each time I get this message:
Error:
client-error-forbiddenheldlocalhost:631
Asides from the job sitting as a job in CUPS, each time I log in, I get a notification from KJobViewer about that single job.
Is there not a file I can edit and empty to clear this job? Using CUPS
maybe there's too much comfort with the gui. Try the command-line: lprm (if there is only one job in the print queue) lpstat -a (will show all jobs for all printers) from the *man* page for lprm (it's me again): NAME lprm - cancel print jobs SYNOPSIS lprm [ -E ] [ - ] [ -P destination ] [ job ID(s) ] DESCRIPTION lprm cancels print jobs that have been queued for printing. The -P option specifies the destination printer or class. If no arguments are supplied, the current job on the default destination is cancelled. You can specify one or more job ID numbers to cancel those jobs, or use the - option to cancel all jobs. The -E option forces encryption when connecting to the server. COMPATIBILITY The CUPS version of lprm is compatible with the standard Berkeley lprm command. darn those man pages come in hand, imnsho. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Mon, 2004-10-11 at 17:32, Patrick Shanahan wrote:
* Hylton Conacher (ZR1HPC) <hylton@global.co.za> [10-11-04 16:05]: ...
when I go into CUPs via the web interface and click on jobs I see there is one job there listed as held that I held.
I have tried to delete and resume it, and each time I get this message:
Error:
client-error-forbiddenheldlocalhost:631
Asides from the job sitting as a job in CUPS, each time I log in, I get a notification from KJobViewer about that single job.
Is there not a file I can edit and empty to clear this job? Using CUPS
maybe there's too much comfort with the gui. Try the command-line: lprm (if there is only one job in the print queue) lpstat -a (will show all jobs for all printers)
Actually lpstat -o shows all of the printer jobs, lpstat -a only shows which printers are accepting jobs. To delete a print job if you are using cups you should use the cancel command. -- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*
* Ken Schneider <suse-list-e@bout-tyme.net> [10-11-04 17:22]:
Actually lpstat -o shows all of the printer jobs, lpstat -a only shows which printers are accepting jobs. To delete a print job if you are using cups you should use the cancel command.
I routinely use lprm, but both ways work. lprm does allow removing multiple jobs at one time. COMPATIBILITY The CUPS version of lprm is compatible with the standard Berkeley lprm command. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
Patrick Shanahan wrote:
* Hylton Conacher (ZR1HPC) <hylton@global.co.za> [10-11-04 16:05]: ...
when I go into CUPs via the web interface and click on jobs I see there is one job there listed as held that I held.
I have tried to delete and resume it, and each time I get this message:
Error:
client-error-forbiddenheldlocalhost:631
Asides from the job sitting as a job in CUPS, each time I log in, I get a notification from KJobViewer about that single job.
Is there not a file I can edit and empty to clear this job? Using CUPS
maybe there's too much comfort with the gui. WAY TOO much.
Try the command-line: lprm (if there is only one job in the print queue) After the 'lpstat -o' ,That did it, Tnx PAT.
from the *man* page for lprm (it's me again): Perhaps we should call you The man Shanahan :)
Aye, Me's is learning more about fishing theory the more I read. :)
darn those man pages come in hand, imnsho. ditto, if one knows how to look for the right one.
-- The helped Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================
participants (5)
-
Carlos E. R.
-
Hylton Conacher (ZR1HPC)
-
Ken Schneider
-
Mike McMullin
-
Patrick Shanahan