LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-16-2005, 01:51 PM   #1
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
printing issues on Debian sarge 3.1 [SOLVED !!!]


Hi,
I know there are other threads that deal with this issue and I have read them carefully and do some of the things advised. I still cannot get my HP deskjet 3550 to print anything even a test page.

I have installed cupsys-client and cups-related packages (foomatic ... even printconf)
to no avail.
When I execute http//: localhost:631 I can set up this printer. Trouble is nothing gets printed !

I just cannot see what more to do. I need help..


Thanks in advance

Last edited by samael26; 04-19-2005 at 01:59 PM.
 
Old 04-16-2005, 02:55 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
CUPS needs quite a lot of packages to work correctly. I've never bothered to list all these needed packages because I've noticed that the simple command "aptitude -r install foomatic-bin" installs as dependencies all the packages that are needed to set up HP deskjet printers. (That includes the hpijs driver for CUPS -- Epson printers also need the cupsys-driver-gimpprint package.) I think you should first try this command (as root) and then maybe reboot to make sure that the CUPS print server starts correctly. Ensuring that you've actually installed all the needed packages seems to me like the first step in troubleshooting printing problems.
 
Old 04-16-2005, 03:57 PM   #3
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Original Poster
Rep: Reputation: 30
Thanks for the reply, Dead Parrot,

I tried the command you advised but strangely enough, it just uninstalled kmail and its libraries.

The packages were already installed. Cups seems to be working. I am still unable to print anything.

Thxs anyway. If you think of sthg else, feel free to mention it.

I will have to search a bit more.

Cheers
 
Old 04-16-2005, 04:56 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
it just uninstalled kmail and its libraries
Indeed, that sounds strange. The mysterious wisdom of APT is sometimes beyond the understanding of mere mortals.

Well, you should have all the necessary packages installed and the next logical step in proceeding to investigate your printing problem would be the printer configuration you made in http://localhost:631/admin . Maybe you picked the wrong printer port? Or maybe the CUPS configuration program offered you several drivers and you picked the wrong one? (Linuxprinting.org recommends the hpijs driver for your printer.)

But if you configured your printer correctly and it still refuses to print, there's only one further advice I can suggest: you can change the LogLevel to debug in /etc/cups/cupsd.conf , then try to print something, and then search /var/log/cups/error_log for any error messages.

This error_log file is usually quite long and sometimes interpreting where the problem lies requires extensive knowledge about the inner workings of CUPS. I certainly don't have such knowledge. But it may be still worth a try. Maybe the problem is something obvious and you can figure it out by studying the error_log.

But if I was you, I'd first double-check that the printer cable is firmly connected and power is turned on, and then I'd remove the printer configuration in http://localhost:631/admin and try to configure it again. And only if all these efforts fail, I'd try the "change the LogLevel to debug in /etc/cups/cupsd.conf , then try to print something, and then check /var/log/cups/error_log" trick as the last resort.

EDIT:
I'm not sure if editing /etc/cups/cupsd.conf changes the LogLevel immediately. I think you should restart the CUPS server after changing the LogLevel. Then you can try to print something and the errors should show in /var/log/cups/error_log.

Last edited by Dead Parrot; 04-16-2005 at 10:54 PM.
 
Old 04-19-2005, 12:56 PM   #5
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Original Poster
Rep: Reputation: 30
HI again, I have not fixed my printing issue yet
This is what the last lessage look like. I found I did not have ESP Ghostscript installed so I did it,
the printer, which I changed from an HP deskjet 3550 to an old HP Deskjet 845c to see if there
would be a change, does not want to start..

dispo-82-255-162-90:/home/eric1# tail -f /var/log/cups/error_log
I [19/Apr/2005:19:46:17 +0200] Adding end banner page "none" to job 37.
I [19/Apr/2005:19:46:17 +0200] Job 37 queued on 'printie1' by 'eric1'.
I [19/Apr/2005:19:46:17 +0200] Started filter /usr/lib/cups/filter/pstops (PID 4196) for job 37.
I [19/Apr/2005:19:46:17 +0200] Started filter /usr/lib/cups/filter/pstoraster (PID 4197) for job 37.
I [19/Apr/2005:19:46:17 +0200] Started filter /usr/lib/cups/filter/rastertohp (PID 4198) for job 37.
I [19/Apr/2005:19:46:17 +0200] Started backend /usr/lib/cups/backend/usb (PID 4199) for job 37.
E [19/Apr/2005:19:46:17 +0200] PID 4199 stopped with status 1!
I [19/Apr/2005:19:46:17 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
E [19/Apr/2005:19:46:17 +0200] [Job 37] Unable to open USB device "usb:/dev/usb/lp1": No such device
I [19/Apr/2005:19:46:19 +0200] Saving printers.conf...

Is it a USB problem now ? Can you confirm that ?
Thx again for your help Dead Parrot. Hope I am not bothering you too much.

Cheers
 
Old 04-19-2005, 01:52 PM   #6
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Quote:
Originally posted by samael26
HI again, I have not fixed my printing issue yet
This is what the last lessage look like. I found I did not have ESP Ghostscript installed so I did it,
the printer, which I changed from an HP deskjet 3550 to an old HP Deskjet 845c to see if there
would be a change, does not want to start..
Code:
dispo-82-255-162-90:/home/eric1# tail -f /var/log/cups/error_log
I [19/Apr/2005:19:46:17 +0200] Adding end banner page "none" to job 37.
I [19/Apr/2005:19:46:17 +0200] Job 37 queued on 'printie1' by 'eric1'.
I [19/Apr/2005:19:46:17 +0200] Started filter /usr/lib/cups/filter/pstops (PID 4196) for job 37.
I [19/Apr/2005:19:46:17 +0200] Started filter /usr/lib/cups/filter/pstoraster (PID 4197) for job 37.
I [19/Apr/2005:19:46:17 +0200] Started filter /usr/lib/cups/filter/rastertohp (PID 4198) for job 37.
I [19/Apr/2005:19:46:17 +0200] Started backend /usr/lib/cups/backend/usb (PID 4199) for job 37.
E [19/Apr/2005:19:46:17 +0200] PID 4199 stopped with status 1!
I [19/Apr/2005:19:46:17 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
E [19/Apr/2005:19:46:17 +0200] [Job 37] Unable to open USB device "usb:/dev/usb/lp1": No such device
I [19/Apr/2005:19:46:19 +0200] Saving printers.conf...
Is it a USB problem now ? Can you confirm that ?
Thx again for your help Dead Parrot. Hope I am not bothering you too much.

Cheers
I followed a CUPS howto that was posted on http://forums.gentoo.org and I ended up with the driver port for my Lexmark z600 being the USB attach device which was not lp1. What exact steps did you use, where did you get the driver for the HP printer?

Last edited by t3gah; 04-19-2005 at 01:59 PM.
 
Old 04-19-2005, 01:58 PM   #7
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Original Poster
Rep: Reputation: 30
Thanks again, Dead Parrot,

As you can see it the title, I have just succeeded in printing (Actually, using the
same printer, the quality is MUCH better than in Mandrake).
I just reinstalled the printer in CUPS, changing to a generic driver, it
recognized my Deskjet 845c. I checked on Debian.org, on debianHELP.org (good site)
and finally, switching to KDE did the trick. I could not print in Fluxbox

Well, that's it !! Thxs again for your time

Cheers !
 
  


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
Debian Sarge Onboard Graphics Issues jrcreasy Linux - Newbie 8 08-06-2005 02:34 PM
X-Windows fails to start & other Debian sarge install issues tommilo Linux - Newbie 30 03-02-2005 09:49 AM
New Debian user with two printing issues k5knt Debian 2 03-01-2005 10:08 PM
Couple of issues with Debian "sarge" KRiSX.cjb.net Linux - General 0 07-14-2004 04:35 AM
Sarge Debian and X = issues orange400 Debian 16 06-16-2004 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:31 AM.

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