Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21782 - hpijs ebuild not working with HP 5550 -- user instructions incomplete
Summary: hpijs ebuild not working with HP 5550 -- user instructions incomplete
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-27 13:40 UTC by Dwight Tuinstra
Modified: 2003-07-16 08:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dwight Tuinstra 2003-05-27 13:40:25 UTC
Synopsis:  
hpijs needs additional dependencies to print on an HP 5550 (and possibly other 
printers): foomatic-rip (not in portage); possibly foomatic-gswrapper and ghostscript. 
 
Detail: 
Emerging hpijs (current version, 1.2.2) and following its instructions for use with CUPS 
(ebuild version 1.1.18-r4) does not give working results with HP 5550 printer. Attempt 
to print test page from within CUPS gives no physical indications of any action (no 
motion, no sound, no indicator light changes). Almost immediately after submitting the 
test page, you can hit the "Show Completed Jobs" button in the CUPs page for the 
printer to see that the print job was aborted. The printer works with the driver listed as 
"HP New DeskJet Series CUPS v1.1 (en)" in the CUPS printer setup wizard (though 
with loss of features, most likely). 
 
NOTE: despite app-text/ghostscript being listed as an RDEPEND for hpijs, it was not 
installed as a dependency when I emerged hpijs. 
 
Could the problem be due to changes in the ppd that linuxprinting generates? Perhaps 
it's meant for the current hpijs version (1.4) and not compatible w/ 1.2.2? If one follows 
the CUPS documentation link on linuxprinting's hpijs driver page, one finds a number 
of steps not mentioned by the ebuild's messages, and a number of programs/scripts 
not installed by hpijs or cups (ghostscript, foomatic-rip and foomatic-gswrapper). 
 
Installing the foomatic ebuild (v2.0.0) gets me foomatic-gswrapper but not foomatic-rip. 
After installing foomatic, restarting CUPS, and trying to print a test page, I get the same 
result: aborted print job. 
 
Installing ghostscript (ebuild 7.05.5), as recommended on the linuxprinting's hpijs 
driver page, resulted in the same: aborted job. 
 
Lastly, downloading and installing foomatic-rip as per the linuxprinting instructions 
does the trick. Test page prints, with much better color.
Comment 1 Lars S. Jensen 2003-06-14 04:37:32 UTC
I add hpijs-1.4.1.ebuild http://bugs.gentoo.org/show_bug.cgi?id=21601 for hpijs-1.4.1 that includes foomatic-rip and HP PPD files, this now part of HPIJS. 

by probles do:
emerge /remerge ghostscript and do /etc/init.d/cupsd restart

Should hpijs ebuild only install foomatic support if net-print/foomatic is missing?




Comment 2 Thomas Raschbacher gentoo-dev 2003-06-22 02:02:36 UTC
i'll try to check this out soon
Comment 3 Dwight Tuinstra 2003-06-22 07:31:03 UTC
I've installed hpijs 1.4.1 on both a cups client and server (1.1.18_r5 and 1.1.18_r4 
respectively, both i386 arch). No problems, but my printing use is very light. Is there a test 
suite I could run? 
Comment 4 Lars S. Jensen 2003-06-22 14:25:56 UTC
In CUPS http://localhost:631/printers is there a test page with a color wheel.
You can also change the printing mode in Configure Printer. 

You print should say 'HP *, Foomatic + hpijs (recommended)' for  using HPijs. Not HP* CUPS+gimp v x.xxx' then the driver is GIMP-print.

Comment 5 Dwight Tuinstra 2003-06-22 19:42:42 UTC
The drivers on both client and server are indeed hpijs. 
 
The test pages print fine, as do web pages with color and graphics. 
Color gradations are smooth and color is rich. I was wondering if 
there were stress or compliance tests available ... my printing is 
very low volume and the server has 1.5Gb RAM, so my normal use would 
probably not show problems due to high volume or memory leaks. Also, 
ink is expensive so I don't want to try just random testing. I'll 
spend the ink, though, if there's a test suite that hits it where it 
might break. 
 
FWIW, client: 
$ uname -a 
Linux gilligan 2.4.20-gentoo-r5 #5 Sat May 24 16:25:41 EDT 2003 
i686 Intel(R) Pentium(R) III Mobile CPU 
1133MHz GenuineIntel GNU/Linux 
 
server: 
$ uname -a 
Linux skipper 2.4.20-gentoo-r5 #5 Sat May 17 18:42:48 EDT 2003 
i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux 
 
Also, I don't know nearly as much about printing as I should, so 
I can't answer Lars' question (Comment #1 above) about foomatic 
support. 
 
Thanks all for help so far! 
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-16 08:00:48 UTC
hpijs 1.4.1 now in portage, so fixed