LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2006, 08:58 PM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 871

Rep: Reputation: 43
cups printer problems


Somewhat frustrated.

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
 
Old 07-23-2006, 11:28 PM   #2
uteck
Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Sidux, LinHES, and Mythbuntu
Posts: 209

Rep: Reputation: 32
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.
 
Old 07-24-2006, 05:40 AM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 871

Original Poster
Rep: Reputation: 43
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 I have tried restarting them with the same results.

Any other ideas?

Thanks
 
Old 07-24-2006, 05:42 AM   #4
smallville
Member
 
Registered: Dec 2005
Posts: 44

Rep: Reputation: 15
try doing an update on your software....
 
Old 07-24-2006, 05:57 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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 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
 
Old 07-24-2006, 06:18 AM   #6
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 871

Original Poster
Rep: Reputation: 43
printer woes

Quote:
Originally Posted by smallville
try doing an update on your software....
fully up to date
 
Old 07-24-2006, 11:17 AM   #7
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 871

Original Poster
Rep: Reputation: 43
Question

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
 
Old 07-24-2006, 02:20 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 07-24-2006, 08:13 PM   #9
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 871

Original Poster
Rep: Reputation: 43
Red face duh

The saying is true everything we need to know we learned in the sand box. It also helps if we are sometimes smarter 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 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.
 
Old 07-25-2006, 03:23 AM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Oh lol. Glad that's "fixed" :}


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
EPSON c82 printer problems with CUPS aznkwyjibo007 Linux - Hardware 0 02-27-2005 11:39 AM
CUPS Shared Printer problems 1kyle Linux - Networking 8 07-18-2004 06:46 AM
problems configuring lexmark 100 printer with cups gutman007 Linux - Newbie 0 04-18-2004 03:56 PM
CUPS Printer Installation Problems rootking Linux - Hardware 8 03-20-2004 12:32 AM
Printer Problems with CUPS and Epson Stylus Color 740 MG-Cloud Linux - Newbie 0 02-06-2004 04:34 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration