LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with CUPS (https://www.linuxquestions.org/questions/linux-software-2/problem-with-cups-181040/)

caspar_wrede 05-13-2004 07:44 AM

Problem with CUPS
 
Hi there,

I am trying to get my printer working on my debian box.

So far I have installed cupsys plus a few other utilities and that all seems to be working. The cupsd daemon is running. I have also downloaded the correct ppd driver for the printer and put is in the right directory.

When I do the following

lpadmin -P Laser -v parallel:/dev/lp0 -P Laser.ppd

It says: " lpadmin: Unable to connect to server: connection timed out"

Why???

"lpinfo -v" appears to do nothing -- I have to Ctrl-C the process.

Any ideas anybody?

Thanks,

Caspar.

Andrew Benton 05-13-2004 12:32 PM

What happens if you enter (as root)

echo "hello" > /dev/lp0

caspar_wrede 05-13-2004 12:42 PM

That works, i.e. the printer prints "hello"

Andrew Benton 05-13-2004 01:10 PM

Well the next thing I would suggest that you edit /etc/cups/cupsd.conf and change loglevel to debug. Then point your browser at http://127.0.0.1:631/ and check the details are set up correctly for your printer, then try to print something. If it doesn't work, see if anything usefull shows up in /var/log/cups/error.log . I hope those files are in those places (I'm not familiar with Debian).

caspar_wrede 05-14-2004 03:15 AM

Hi Andrew,

I did what you suggested. I can use the web interface to BEGIN setting up a new printer, however, after entering "Name, Location and Description" and clicking on continue, an errror occurs ("Error loading page") in the browser.

The error_log says the following (the interesting thing is the second to last line):

I [14/May/2004:10:10:27 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=6733)
D [14/May/2004:10:10:27 +0200] SendCommand() 5 file=10
D [14/May/2004:10:10:27 +0200] AcceptClient() 9 from 127.0.0.1:631.
D [14/May/2004:10:10:27 +0200] CloseClient() 9
D [14/May/2004:10:10:41 +0200] CloseClient() 8
D [14/May/2004:10:10:41 +0200] AcceptClient() 8 from 127.0.0.1:631.
D [14/May/2004:10:10:41 +0200] ReadClient() 8 POST /admin HTTP/1.1
E [14/May/2004:10:10:41 +0200] ReadClient() 8 IPP Read Error!
D [14/May/2004:10:10:41 +0200] CloseClient() 8


Caspar.


All times are GMT -5. The time now is 09:23 PM.