On 05/07/13 21:46, Mick wrote:
On Tuesday 07 May 2013 16:48:42 Joseph wrote:
When I submit print job to my network printer cups display on the web-page:

▼ ID ▼  Name    User            Size            Pages
Brother-2907    Unknown         Withheld        42k

So I can not delete the print job as I'm not the owner.
How to control the ownership of the print job?

In cupsd.conf I have:
...
  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
...

I could make a short-cat and add:
Allow from my_ip_address

but I don't think this is a good solution.

Try something like this:

$ cat /etc/group | grep lp
lp:x:7:lp,michael
lpadmin:x:106:

That should allow you to cancel print jobs, otherwise sudo cancel.

--
Regards,
Mick

That is what I have:

$ cat /etc/group | grep lp
lp:x:7:lp,joseph
lpadmin:x:106:

I still can not delete print job unless I'm root.

--
Joseph

Reply via email to