Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]HP DJ USB CUPS+hpijs "Media tray empty" et
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Rav70
l33t
l33t


Joined: 11 Feb 2004
Posts: 607
Location: Poland

PostPosted: Wed Apr 21, 2004 6:12 pm    Post subject: [SOLVED]HP DJ USB CUPS+hpijs "Media tray empty" et Reply with quote

Hello,
I've a Deskjet 845C printer; printing using CUPS driver (HP New DeskJet Series CUPS v1.1) is possible but far from ideal so I've decided to try foomatic/hpijs driver; now that's where the fun starts :evil: I've followed exactly the Gentoo Printing Guide; then tried every solution I found on these forums, liuxprinting.org & friends, web in general (Google didn't spit much to dig into) - and still the same problem: printing test page is being aborted with the "Media tray empty!" in the printer's status line. Switched CUPS to debug mode and found every time that same error:
----/var/log/cups/error_log----
D [21/Apr/2004:19:45:07 +0200] [Job 3] Starting renderer
D [21/Apr/2004:19:45:07 +0200] [Job 3] JCL: <job data>
D [21/Apr/2004:19:45:07 +0200] [Job 3]
D [21/Apr/2004:19:45:07 +0200] [Job 3] renderer PID kid4=21716
D [21/Apr/2004:19:45:07 +0200] [Job 3] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -s IjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 845" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
D [21/Apr/2004:19:45:07 +0200] [Job 3] perl: warning: Setting locale failed.
D [21/Apr/2004:19:45:07 +0200] [Job 3] perl: warning: Please check that your locale settings:
D [21/Apr/2004:19:45:07 +0200] [Job 3] LANGUAGE = (unset),
D [21/Apr/2004:19:45:07 +0200] [Job 3] LC_ALL = (unset),
D [21/Apr/2004:19:45:07 +0200] [Job 3] LANG = "en"
D [21/Apr/2004:19:45:07 +0200] [Job 3] are supported and installed on your system.
D [21/Apr/2004:19:45:07 +0200] [Job 3] perl: warning: Falling back to the standard locale ("C").
D [21/Apr/2004:19:45:07 +0200] [Job 3] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 845' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [21/Apr/2004:19:45:07 +0200] [Job 3] hpijs: context.cpp:427: apdk::DRIVER_ERROR apdk::PrintContext::SelectPrintMode(apdk::QUALITY_MODE, apdk::MEDIATYPE, apdk::COLORMODE, int): Assertion `0' failed.
D [21/Apr/2004:19:45:07 +0200] [Job 3] **** Unable to open the initial device, quitting.
D [21/Apr/2004:19:45:07 +0200] [Job 3] renderer return value: 1
D [21/Apr/2004:19:45:07 +0200] [Job 3] renderer received signal: 1
D [21/Apr/2004:19:45:07 +0200] [Job 3] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [21/Apr/2004:19:45:07 +0200] [Job 3] Possible error on renderer command line or PostScript error. Check options.
D [21/Apr/2004:19:45:07 +0200] [Job 3]
D [21/Apr/2004:19:45:07 +0200] [Job 3] Closing renderer
D [21/Apr/2004:19:45:07 +0200] [Job 3] KID3 exited with status 3
D [21/Apr/2004:19:45:07 +0200] [Job 3] Renderer exit stat: 3
D [21/Apr/2004:19:45:07 +0200] [Job 3] Renderer process finished
D [21/Apr/2004:19:45:07 +0200] [Job 3] Killing process 21715 (KID3)
D [21/Apr/2004:19:45:07 +0200] [Job 3] Process dying with "Error closing renderer", exit stat: 3
D [21/Apr/2004:19:45:07 +0200] [Job 3] Error closing renderer
E [21/Apr/2004:19:45:07 +0200] PID 21713 stopped with status 3!
----/var/log/cups/error_log----
Kernel 2.4.25-gentoo-r2
Proposed (and unfortunately non-working) solutions involved reemerging cups+foomatic+hpijs+ghostscript in the proper order, plugging out and back in the printer... is there anything else I could try? :|
Regards,
Rav
_________________
Q: Why is Microsoft's Product Support a failure?
A: Because Microsoft needs a Support Group instead.
Back to top
View user's profile Send private message
Rav70
l33t
l33t


Joined: 11 Feb 2004
Posts: 607
Location: Poland

PostPosted: Wed Apr 21, 2004 9:35 pm    Post subject: Reply with quote

Nevermind, got this sorted out. Emerging latest (unstable) hpijs ebuild sufficed - so I suppose sometimes Mr. ~x86 keyword is your friend :wink:
_________________
Q: Why is Microsoft's Product Support a failure?
A: Because Microsoft needs a Support Group instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum