LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cups printer problems (https://www.linuxquestions.org/questions/linux-newbie-8/cups-printer-problems-466929/)

rbees 07-23-2006 07:58 PM

cups printer problems
 
Somewhat frustrated.:newbie:

My problem. I have been trying to get the 5.1 speakers working without much success only to discover that my networked printer has stopped working. Grr. I have also installed wine since I installed cups. My distro is Debian Sarge and I am using KDE. The printer is a HP laserjet 4si served by a Jetdirect 10base-T print server on my home network. I can ping it in Sarge and print to it from xp. I have been through this link http://linuxprinting.org/ppd-doc.html and others without success.

The cups config at http://localhost:631/ did work when I installed per http://www.willempen.org/network-printer/ but I have been unable to reconfigure since. When I try to reconnect the server is says that it can't find the server. I tried #killall -HUP cupsd as per one page I was using and when I restarted the box the cups server was shutdown and restarted apparently correctly.

The print error log says Hint: Do you have ESP Ghostscript installed? and Hint: Try setting the LogLevel to "debug". I did download ESP Ghostscript but have not installed it yet because everything worked fine before without it.

I did read somewhere that I needed beh because cups would stop the que and have to be restarted or some such thing. Because I was not aware of this issue I sent the print job to the printer before I turned it on. This is when I restarted the box. This time with the printer turned on, still with no success. Grrrr After I read some more I discovered that beh should not be used with some kinds of HP printers and I don't know if the one I have is one of them so I may need to uninstall it.Grrr

Now I have discovered that I can not launch my text editors from Konqueror. KDEInit could not launch 'kwrite' double grr

If some one could point me to a usefull link or how-to it would be much appreciated.

Thank You

uteck 07-23-2006 10:28 PM

Have you checked the web configuration to see the status of the printer? I have dealt with some printers that would go into power save mode and cups would set the printer as off-line.
If the printer is listed as on-line try printing a test page, and if that fails, delete the printer from cups in the web configuration and then re-add it.

rbees 07-24-2006 04:40 AM

printer woes
 
Thank for the reply

I have tried all those things. The printer shows up and says that it is accepting jobs. When try to print a test page it cancels the job out :scratch: I have tried restarting them with the same results.

Any other ideas?

Thanks

smallville 07-24-2006 04:42 AM

try doing an update on your software....

Tinkster 07-24-2006 04:57 AM

Quote:

Originally Posted by rbees
Thank for the reply

I have tried all those things. The printer shows up and says that it is accepting jobs. When try to print a test page it cancels the job out :scratch: I have tried restarting them with the same results.

Any other ideas?

Thanks

The ubiquitous tip for cups-problems:
find and edit your cupsd.conf, change the log-level from
info to debug2, stop cups, move the log-file, start cups,
try printing, stop cups. Save the log, undo your edit, and
start reading the saved log...


Cheers,
Tink

rbees 07-24-2006 05:18 AM

printer woes
 
Quote:

Originally Posted by smallville
try doing an update on your software....

fully up to date

rbees 07-24-2006 10:17 AM

Quote:

Originally Posted by Tinkster
The ubiquitous tip for cups-problems:
find and edit your cupsd.conf, change the log-level from
info to debug2, stop cups, move the log-file, start cups,
try printing, stop cups. Save the log, undo your edit, and
start reading the saved log...


Cheers,
Tink

I found these errors in the log but I don't know what to make of them.

D [24/Jul/2006:09:44:02 -0400] AcceptClient: 9 from localhost:631.
D [24/Jul/2006:09:44:02 -0400] CloseClient: 8
D [24/Jul/2006:09:44:02 -0400] ReadCliD [24/Jul/2006:09:44:02 -0400] ReadClient: 7 GET /jobs/?op=restart-job&job_id=11&job_printer_uri=/printers/HPlaserjet4si HTTP/1.1
D [24/Jul/2006:09:44:02 -0400] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - PID = 6659
I [24/Jul/2006:09:44:02 -0400] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=6659)
D [24/Jul/2006:09:44:02 -0400] SendCommand: 7 file=10
D [24/Jul/2006:09:44:02 -0400] AcceptClient: 9 from localhost:631.
D [24/Jul/2006:09:44:02 -0400] ReadClient: 9 POST /jobs HTTP/1.1
D [24/Jul/2006:09:44:02 -0400] SendError: 9 code=401 (Unauthorized)
D [24/Jul/2006:09:44:02 -0400] CloseClient: 9
ent: 9 GET /cups.css HTTP/1.1
D [24/Jul/2006:09:44:02 -0400] SendFile: 9 file=8
D [24/Jul/2006:09:44:02 -0400] AcceptClient: 8 from localhost:631.
D [24/Jul/2006:09:44:02 -0400] ReadClient: 8 POST /jobs HTTP/1.1
E [24/Jul/2006:09:44:02 -0400] restart_job: job #11 cannot be restarted - no files!
D [24/Jul/2006:09:44:02 -0400] Sending error: client-error-not-possible
D [24/Jul/2006:09:44:02 -0400] ProcessIPPRequest: 8 status_code=404
D [24/Jul/2006:09:44:02 -0400] CloseClient: 8
D [24/Jul/2006:09:44:55 -0400] CloseClient: 5
D [24/Jul/2006:09:45:03 -0400] CloseClient: 9
D [24/Jul/2006:09:45:03 -0400] CloseClient: 7

Then the power went out and folowing the restart ( seams to have fixed the problem starting kedit and others from konqueror) I found some other errors such as:

D [24/Jul/2006:10:43:43 -0400] AcceptClient: 5 from localhost:631.
D [24/Jul/2006:10:43:43 -0400] ReadClient: 5 GET /sum.html HTTP/1.1
D [24/Jul/2006:10:43:44 -0400] SendError: 5 code=304 (Not Modified)
D [24/Jul/2006:10:43:44 -0400] CloseClient: 5

and:

ob #11 cannorestart_job: jt be restarted - no files!
D [24/Jul/2006:09:44:02 -0400] Sending error: client-error-not-possible

SendError: 5 code=404 (Not Found)

SendError: 8 code=401 (Unauthorized)

I thought I might have some broken package but synaptic dosen't report any

The error codes seam to point to a permission thing but the printer claims to be installed for all users. How would I check to be sure? code:?

Thank you

Tinkster 07-24-2006 01:20 PM

You could post cupsd.conf without the comments... the only actual
error I see pertains to the attempt to reprint a job (but I assume
that cups is set-up not to keep job-files after they printed).


Cheers,
Tink

rbees 07-24-2006 07:13 PM

duh
 
The saying is true everything we need to know we learned in the sand box. It also helps if we are sometimes smarter:study: than what we are working with.

I am not sure I ever had a problem with my printer beyond turning it on "before" I started cups. I didn't know that but I do now. It also helps when a body puts the printer back online:tisk: I never had to play with the buttons on the printer from xp. I use to have to do that with the old dotmatrix printers in msdos but not normally with newer printers and os's

So now back to getting the speakers to work.

Tinkster 07-25-2006 02:23 AM

Oh lol. Glad that's "fixed" :}


Cheers,
Tink


All times are GMT -5. The time now is 01:27 PM.