Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Printer Not Responding



>>>>> "Dave" == Dave M G <Dave> writes:

    Dave> In the CUPS interface, the status changes to "stopped". The
    Dave> "State" of the print job remains "pending" indefinitely. If
    Dave> I try to cancel the job, it returns the error:
    Dave> Error
    Dave> client-error-forbidden

OK, we have a permission problem somewhere, but it is very strange
(and worrying, if your printer is on a network) that "Cancel All"
works where "Cancel One" doesn't.

    Dave> dave@example.com:~$ tail /var/log/cups/error_log
    Dave> E [13/Apr/2006:01:04:29 +0900] [Job 2] Unable to open USB port device file: No such file or directory

Your printer is not being found by CUPS and/or the OS.  Looking for
love in all the wrong places, I guess.

    Dave> E [13/Apr/2006:01:04:29 +0900] PID 29720 stopped with status 1!
    Dave> E [13/Apr/2006:01:04:36 +0900] Purge-Jobs: Unauthorized
    Dave> E [13/Apr/2006:01:04:39 +0900] Resume-Printer: Unauthorized

Different problem, I hope.

    Dave> dave@example.com:~$ lpadmin -p Canon -v /dev/usblp0
    Dave> lpadmin: File device URIs have been disabled! To enable, see the 
    Dave> FileDevice directive in "/etc/cups/cupsd.conf".
    Dave> (I attempted to insert a FileDevice directive in cupsd.conf

What do you get from "lpadmin -p Canon -v /dev/usblp0" now?

What does "ls -l /dev/usblp0" tell us?

    Dave> dave@example.com:~$ more /etc/cups/cupsd.conf

    Dave> # Restrict access to the server...
    Dave> <Location />
    Dave> # Restrict access to the admin pages...
    Dave> <Location /admin>
    Dave> # Restrict access to configuration files...
    Dave> <Location /admin/conf>

These are Apache-style httpd access control.  They probably refer to
who is allowed to look at the admin interface, *not* anything about
who is allowed to print.

    Dave> # Set the default printer/job policies...
    Dave> <Policy default>
    Dave>  # Job-related operations ...
    Dave>  <Limit Send-Document Send-URI Hold-Job ...
    Dave>    Require user @example.com @example.com
    Dave>    Order deny,allow
    Dave>  </Limit>

OK, it's these <Policy> controls that you want.  But that one seems to
allow you to do what you want.  And there's no AuthType in the
<Limit>.

    Dave> # Include files in /etc/cups/conf.d
    Dave> Include /etc/cups/cups.d/ports.conf
    Dave> Include /etc/cups/cups.d/browse.conf

Forlorn hope, but what do those say?

My feeling is that your USB port is not being identified correctly to
CUPS, and it can't find your printer.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links