View previous topic :: View next topic |
Author |
Message |
dan___ n00b
Joined: 08 Mar 2006 Posts: 30
|
Posted: Fri Jul 14, 2006 12:08 pm Post subject: CUPS doesn't print via LPD but no error log |
|
|
Hello!
I try to install a HP LaserJet 2100 which is connected to a LAN-router
with print server. CUPS and Foomatic are installed, I got the .ppd from
linuxprinting.org and I can connect to the print server via telnet.
So far everything looks quite well, but if I try to print a test page
with CUPS I get the message
"Attempting to connect to host 192.168.1.1 for printer lp1"
and nothing else happens.
CUPS used to work fine before I updated world a couple of months before.
I tried up- and downgrading CUPS but nothing helped.
The same CUPS settings work fine if I boot from a Knoppipx-CD.
Any ideas?
Dan |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Sat Jul 15, 2006 12:38 am Post subject: |
|
|
How did you set up the printer? With lpadmin or the web interface? _________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
dan___ n00b
Joined: 08 Mar 2006 Posts: 30
|
Posted: Sat Jul 15, 2006 9:31 am Post subject: |
|
|
I used the webinterface.
And I checked the resulting config files. The files looked good to
me but I'm definetly not an expert. |
|
Back to top |
|
|
dan___ n00b
Joined: 08 Mar 2006 Posts: 30
|
Posted: Sun Jul 16, 2006 12:04 pm Post subject: |
|
|
Hello!
Here are my config files. They look ok to me, but
maybe sombody else can see what's wrong with them.
/etc/cups/printers.conf:
Code: | # Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-07-14 18:21
<DefaultPrinter HP2100>
Info HP2100
DeviceURI lpd://192.168.1.1/lp1
State Idle
StateTime 1152894098
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
|
/etc/cups/client.conf:
Only comments # in this file
/etc/cups/cupsd.conf:
It's long but I removed all comment # lines to make the post more readable.
Code: | DocumentRoot /usr/share/cups/docs
LogLevel debug # Even in debug mode I don't get usefull info
User lp
Group lp
Port localhost:631
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.* # I added this line but it didn't help
</Location>
<Location /admin>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
|
If I print a test page from the CUPS webinterface I get the following log in
/var/log/cups/error_log
Code: | I [16/Jul/2006:13:59:29 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8589)
I [16/Jul/2006:13:59:31 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8590)
I [16/Jul/2006:13:59:31 +0200] Adding start banner page "none" to job 56.
I [16/Jul/2006:13:59:31 +0200] Adding end banner page "none" to job 56.
I [16/Jul/2006:13:59:31 +0200] Job 56 queued on 'HP2100' by ''.
I [16/Jul/2006:13:59:31 +0200] Started filter /usr/lib/cups/filter/pstops (PID 8591) for job 56.
I [16/Jul/2006:13:59:31 +0200] Started filter /usr/lib/cups/filter/foomatic-rip (PID 8592) for job 56.
I [16/Jul/2006:13:59:31 +0200] Started backend /usr/lib/cups/backend/lpd (PID 8593) for job 56.
|
I do not even know where to look for the problem.
I can only guess it's somewhere in the communication between my local CUPS and the print server
on the router. But I have no idea what to do now...
Dan |
|
Back to top |
|
|
|