Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Network printing
Date: Mon, 22 Dec 2008 11:46:04
Message-Id: 200812221125.39755.peter@humphrey.ukfsn.org
1 Hello,
2
3 This follows from the printing-from-windows thread; it's not confined to
4 Windows.
5
6 Thanks to Mark K for his help so far. To recap:
7
8 My network server box has two USB printers attached: a Kyocera FS1020D
9 laser, which works just fine, and an HP Deskjet D4260, which doesn't: I can
10 print to the Deskjet from the local machine but not from anywhere else.
11
12 CUPS is installed with USE="acl dbus jpeg pam perl png python ssl
13 tiff -X -avahi -gnutls -java -kerberos -ldap -php -ppds -samba -slp -static -xinetd -zeroconf"
14
15 Hplip is installed with USE="cupsddk dbus
16 doc -fax -minimal -parport -ppds -qt3 -qt4 -scanner -snmp" I ran hp-setup
17 as root, and it detected the printer and inserted it into cups, where I can
18 control it as expected using the cups Web pages.
19
20 (I've already quoted part of cupsd.conf, but I can repeat it if necessary.)
21
22 Now this is what happens today: I go to localhost:631 on my workstation and
23 attempt to connect to the Deskjet. I tell cups it's an HP model via ipp,
24 and I accept the very generic driver it offers me, and I see it's "added
25 successfully". Then I ask for a test page and I get "Unsupported
26 format 'application/postscript'!" So I delete the printer and start again.
27
28 This time I supply the .ppd file I got from linuxprinting.org instead of the
29 generic HP one, and once again I get "added successfully". But at the very
30 next screen I get "Filter "foomatic-rip" for printer "Deskjet_D4260" not
31 available: No such file or directory". Yet foomatic-rip is right there
32 in /usr/bin, being part of the foomatic-filters package which was pulled in
33 by emerging hplip.
34
35 I've tried exploring the Web for trouble-shooting tips on HP printers, and
36 the best I've found is HP's own site, where I get dark hints about snmp. I
37 also half-remember having to include ldap in cups from some time ago, but I
38 can't see what either of those might have to do with my problem - am I
39 missing something?
40
41 As an aside, it really is daft of cups to report "added successfully" when
42 it has no idea of the success of the operation.
43
44 Another aside: what could cause the cups admin pages to lose their graphical
45 effects and revert to plain white background, with framed text strings
46 where the buttons ought to be? This happens quite often.
47
48 --
49 Rgds
50 Peter

Replies

Subject Author
Re: [gentoo-user] Network printing BRM <bm_witness@×××××.com>