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.
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?
i'll try to check this out soon
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?
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.
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!
hpijs 1.4.1 now in portage, so fixed