You are not logged in.
Pages: 1
I bought this printer because it was reported to work correctly in Linux with the hpijs driver and the hpoj driver for scanning. It is a multifunction printer.
I recompiled the kernel to have usb printer support, with this options:
Preliminary usb device filesystem
EHCI HCD (USB 2.0) support (EXPERIMENTAL)
UHCI alternate driver (JE) support
USB printer support
USB scanner support
To see if it was detected, I wrote:
cat /proc/bus/usb/devices
returned this:
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=ec00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=2b11 Rev= 1.00
S: Manufacturer=Hewlett-Packard
S: Product=PSC 2170 Series
S: SerialNumber=MY353C81J373
C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=cc Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=84(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=86(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E: Ad=07(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=e800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI-alt Root Hub
S: SerialNumber=e400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.22 ehci_hcd
S: Product=Intel Corp. 82801DB USB2
S: SerialNumber=00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
So it is detected. Then I installed the hpijs driver with pacman and configured the printer with Cups, but it doesn't work. I tried installing Ghostscript, but it didn't work either.
After trying to print the test page, and going back to Printers, Cups shows this message in the navigator:
HP PSC 2175 Foomatic/hpijs (recommended)
Description:
Location: /dev/usb/lp0
Printer State: idle, accepting jobs.
"Media tray empty!"
Device URI: usb://Hewlett-Packard/PSC%202170%20Series
Media tray empty? Then I tried to print a document with OpenOffice, but nothing. Could someone tell me what went wrong?
Offline
hurm sounds like cups is not working very well for you. have you installed a2ps to see if it makes any differences? i remember have lots of problems printing before i installed a2ps.
as an aside you should not have had to recompile your kernel for usb printer support. that is if you use a stock kernel. both usb printer and usb scanner are enabled as modules so it is a simple matter of loading those modules.
AKA uknowme
I am not your friend
Offline
I've installed a2ps and still it doesn't work. And, I recompile the kernel for my needs because I don't want to load any modules at all.
Offline
If I go to Jobs - Show completed jobs, I see this:
HP-6 Test Page root 15k aborted Restart Job
Then, I click on Restart Jobs and I get this message:
Error: client-error-not-possible
Offline
I get this quite frequently also when setting up hpoj and my multi-function HP. I use the parallel port so my setup is a little different. Usually re-setting the printer will fix it but sometimes I have to recompile hpoj and reinstall it. Make sure hpoj loads before cups on boot. I edited the cups script to load hpoj before cups. I don't think it is necessary, but my printer works better when I set up the printer as the default device when running 'ptal-init setup'. I then select the ptal printer device under the cups setup menu (localhost:631).
Offline
Error: client-error-not-possible
Usually this error is caused by the cups daemon not saving print jobs (default config). There's an option in, I believe, cupsd.conf to save print jobs.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
I have a page on cups (Can't Usually Print Stuff) that might be of use--covers some common errors that I and others have run into from time to time.
Don't know if it'll solve this problem but give it a whirl.
http://home.nyc.rr.com/computertaijutsu/cups.html
Also, check the cups error logs--sometimes, though not always, they can be helpful.
Scott
Offline
I found out that foomatic was not installed. I thought it was because when I added the printer with cups, there was the driver name "HP PSC 2175 Foomatic/hpijs (recommended) (en)", but no. Doesn't hpijs depend on foomatic?
Anyway it's not working yet, here's the log:
I [04/Dec/2003:22:18:01 +0000] Listening to 0:631
I [04/Dec/2003:22:18:01 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
I [04/Dec/2003:22:18:01 +0000] Configured for up to 100 clients.
I [04/Dec/2003:22:18:01 +0000] Allowing up to 100 client connections per host.
I [04/Dec/2003:22:18:01 +0000] Full reload is required.
I [04/Dec/2003:22:18:02 +0000] LoadPPDs: Wrote "/etc/cups/ppds.dat", 292 PPDs...
I [04/Dec/2003:22:18:02 +0000] Full reload complete.
E [04/Dec/2003:22:18:02 +0000] StartListening: Unable to find IP address for server name "pc" - Unknown host
I [04/Dec/2003:22:18:41 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=744)
I [04/Dec/2003:22:18:43 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=746)
I [04/Dec/2003:22:20:44 +0000] Scheduler shutting down normally.
I [04/Dec/2003:23:03:22 +0000] Listening to 0:631
I [04/Dec/2003:23:03:22 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
I [04/Dec/2003:23:03:22 +0000] Configured for up to 100 clients.
I [04/Dec/2003:23:03:22 +0000] Allowing up to 100 client connections per host.
I [04/Dec/2003:23:03:22 +0000] Full reload is required.
I [04/Dec/2003:23:03:23 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 292 PPDs...
I [04/Dec/2003:23:03:23 +0000] LoadPPDs: No new or changed PPDs...
I [04/Dec/2003:23:03:23 +0000] Full reload complete.
E [04/Dec/2003:23:03:24 +0000] StartListening: Unable to find IP address for server name "pc" - Unknown host
I [04/Dec/2003:23:03:35 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=573)
I [04/Dec/2003:23:03:38 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=575)
I [04/Dec/2003:23:03:48 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=576)
I [04/Dec/2003:23:03:53 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=577)
I [04/Dec/2003:23:03:56 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=578)
I [04/Dec/2003:23:04:04 +0000] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=579)
I [04/Dec/2003:23:04:04 +0000] Setting HP device-uri to "usb://Hewlett-Packard/PSC%202170%20Series" (was "file:/dev/null".)
I [04/Dec/2003:23:04:04 +0000] Setting HP printer-is-accepting-jobs to 1 (was 0.)
I [04/Dec/2003:23:04:04 +0000] Setting HP printer-state to 3 (was 5.)
I [04/Dec/2003:23:04:04 +0000] Saving printers.conf...
I [04/Dec/2003:23:04:04 +0000] New printer 'HP' added by 'root'.
I [04/Dec/2003:23:04:06 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=580)
I [04/Dec/2003:23:04:11 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=581)
I [04/Dec/2003:23:04:11 +0000] Adding start banner page "none" to job 1.
I [04/Dec/2003:23:04:11 +0000] Adding end banner page "none" to job 1.
I [04/Dec/2003:23:04:11 +0000] Job 1 queued on 'HP' by 'root'.
I [04/Dec/2003:23:04:11 +0000] Started filter /usr/lib/cups/filter/pstops (PID 582) for job 1.
I [04/Dec/2003:23:04:11 +0000] Started filter /usr/lib/cups/filter/foomatic-rip (PID 583) for job 1.
I [04/Dec/2003:23:04:11 +0000] Started backend /usr/lib/cups/backend/usb (PID 584) for job 1.
W [04/Dec/2003:23:04:11 +0000] [Job 1] Media tray empty!
E [04/Dec/2003:23:04:12 +0000] PID 583 stopped with status 1!
I [04/Dec/2003:23:04:12 +0000] Hint: Try setting the LogLevel to "debug" to find out more.
What means "Media tray empty" and why can't it find the ip address of my computer?
Offline
Have you tried setting the LogLevel to Debug like it suggests? It might tell you more than just the media tray being empty.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
I've changed my hostname to "localhost", just to see if it would help. Now the log file is too long, I'll try to extract the important things:
StartListening: NumListeners=1
StartListening: address=00000000 port=631
ResumeListening: setting input bits...
AcceptClient() 5 from localhost:631.
ReadClient() 5 GET /admin HTTP/1.1
SendError() 5 code=401 (Unauthorized)
AcceptClient() 7 from localhost:631.
ReadClient() 7 GET /admin HTTP/1.1
CGI /usr/lib/cups/cgi-bin/admin.cgi started - PID = 406
Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=406)
SendCommand() 7 file=9
AcceptClient() 8 from localhost:631.
ReadClient() 8 GET /images/left.gif HTTP/1.1
SendError() 8 code=304 (Not Modified)
...
ReadClient() 8 GET /images/printer-idle.gif HTTP/1.1
SendError() 8 code=304 (Not Modified)
ReadClient() 7 GET /images/print-test-page.gif HTTP/1.1
SendError() 7 code=304 (Not Modified)
...
[Job 10] LPGETSTATUS returned a port status of 18...
[Job 10] Media tray empty!
CloseClient() 9
...
Spooler: cups
[Job 10] Printer: HP
[Job 10] PPD file: /etc/cups/ppd/HP.ppd
[Job 10] Printer model: HP PSC 2175 Foomatic/hpijs (recommended)
[Job 10] Job title: Test Page
[Job 10] File(s) to be printed:
[Job 10] <STDIN>
[================================================
[Job 10]
[Job 10] File: <STDIN>
[Job 10]
================================================
[Job 10]
[Job 10] Reading PostScript input ...
[Job 10] --> This document is DSC-conforming!
...
New page: 1 1
Inserting option code into "PageSetup" section.
No page header or page header not DSC-conforming
Stopping search for page header options
Found:
pageHeight sub % Move down...
Output goes directly to the renderer now.
...
sh: line 1: gs: command not found
renderer return value: 127
renderer received signal: 127
Process dieing with "The renderer command line returned an unrecognized error code 127.", exit stat: 1
The renderer command line returned an unrecognized error code 127.
tail process done writing data to STDOUT
KID4 finished
Flushing FIFO.
Command line/JCL options changed, restarting renderer
Closing renderer
KID3 exited with status 1
Renderer exit stat: 1
Renderer process finished
Process dieing with "Error closing renderer", exit stat: 1
Error closing renderer
PID 411 stopped with status 1!
UpdateJob: job 10, file 0 is complete.
CancelJob: id = 10
StopJob: id = 10, force = 0
StopJob: printer state is 3
Closing client 5 after 300 seconds of inactivity...
CloseClient() 5
All I could understand about this is that it couldn't find the gs command.
Offline
Ummm... do you have ghostscript installed?
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
D'oh!
Offline
Pages: 1