Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: network scanner not seen by xsane on *some* systems
Date: Sat, 07 Jul 2012 20:09:45
Message-Id: CA+czFiBHknxovx0yWfZ0DJj=L3NQBCMiqNkhzy7h4Ftme7pHAA@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: network scanner not seen by xsane on *some* systems by Allan Gottlieb
1 On Sat, Jul 7, 2012 at 2:03 PM, Allan Gottlieb <gottlieb@×××.edu> wrote:
2 > On Sat, Jul 07 2012, walt wrote:
3 >
4 >> On 07/07/2012 07:33 AM, Allan Gottlieb wrote:
5 >>> Moreover the new printer entry in cups fails to print a test page (the
6 >>> old, cups-installed, entry continues to work).
7 >>
8 >> <sigh> Once again I forgot my number-one fallback move: I always delete
9 >> all the existing printer devices after upgrading cups (or hplip) and run
10 >> hp-setup to reinstall them. It has fixed many similar printing mysteries
11 >> for me in the past.
12 >>
13 >> If in doubt, back up all of your cups configuration files first :)
14 >
15 > I think I have done that in the past but let's do it again.
16 >
17 > 1. By mistake I first did the (working) desktop.
18 >
19 > A. All printers deleted (via CUPS).
20 >
21 > B. Tried hp-setup. If found the (irrelevant) laserjet and the all
22 > in one officejet. But, at the end, said it couldn't install the
23 > fax since hplip wasn't build with fax support (correct).
24 >
25 > C. Everything still works! Can print and scan.
26 >
27 > 2. Next tried my backup laptop (it does emerge update world a day
28 > before the main laptop). It is called oldlap.
29 >
30 > A. All printers deleted (via CUPS).
31 >
32 > B. /etc/init.d/cupsd restart
33 >
34 > C. hp-setup: Tried Installing officejet. Again (correctly) says
35 > hplip not build with fax support.
36 >
37 > D. Fails to print test page (dialog below)
38 >
39 > E. Can't print test page from CUPS (pending forever).
40 >
41 > F. Can't scan. xsane says "failed to open device 'hpaio:...'"
42 >
43 > G. Tried B-F for the laserjet with same bad result
44 >
45 > thanks again,
46 > allan
47 >
48 >
49 > =============== hp-setup dialog =================
50 >
51 > oldlap ~ # hp-setup
52 >
53 > HP Linux Imaging and Printing System (ver. 3.12.6)
54 > Printer/Fax Setup Utility ver. 9.0
55 >
56 > Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
57 > This software comes with ABSOLUTELY NO WARRANTY.
58 > This is free software, and you are welcome to distribute it
59 > under certain conditions. See COPYING file for more details.
60 >
61 > (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
62 >
63 >
64 > --------------------------------
65 > | SELECT CONNECTION (I/O) TYPE |
66 > --------------------------------
67 >
68 > Num Connection Description
69 > Type
70 > -------- ---------- -----------------------------------------
71 > 0* usb Universal Serial Bus (USB)
72 > 1 net Network/Ethernet/Wireless
73 > (direct connection or JetDirect)
74 >
75 > Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1
76 >
77 > Using connection type: net
78 >
79 > -----------------
80 > | SELECT DEVICE |
81 > -----------------
82 >
83 > Num Device URI CUPS Printer(s)
84 > --- ----------------------------------------- ------------------------
85 > 0 hp:/net/Officejet_7300_series?zc=HPCC9932 Officejet_7300_series,
86 > Officejet_7300_series, HPCC9932
87 > 1 hp:/net/HP_LaserJet_P2055dn?zc=lj2055 HP_LaserJet_P2055dn,
88 > HP_LaserJet_P2055dn,lj2055
89 >
90 > Enter number 0...1 for device (q=quit) ?0
91 >
92 > Setting up device: hp:/net/Officejet_7300_series?zc=HPCC9932
93 >
94 > ---------------------
95 > | PRINT QUEUE SETUP |
96 > ---------------------
97 >
98 > Please enter a name for this print queue (m=use model name:'Officejet_7300'*, q=quit) ?ss
99 > Using queue name: ss
100 > Locating PPD file... Please wait.
101 > warning: No PPD found for model officejet_7300 using new algorithm. Trying old algorithm...
102 >
103 > Found PPD file: drv:///hp/hpcups.drv/hp-officejet_7300_series.ppd
104 > Enter a location description for this printer (q=quit) ?ss lan
105 > Enter additonal information or notes for this printer (q=quit) ?hp-lip
106 >
107 > Adding print queue to CUPS:
108 > Device URI: hp:/net/Officejet_7300_series?zc=HPCC9932
109 > Queue name: ss
110 > PPD file: drv:///hp/hpcups.drv/hp-officejet_7300_series.ppd
111 > Location: ss lan
112 > Information: hp-lip
113 > error: Cannot setup fax - HPLIP not built with fax enabled.
114 >
115 > ---------------------
116 > | PRINTER TEST PAGE |
117 > ---------------------
118 >
119 > Would you like to print a test page (y=yes*, n=no, q=quit) ? y
120 > warning: hp-testpage should not be run as root/superuser.
121 >
122 > HP Linux Imaging and Printing System (ver. 3.12.6)
123 > Testpage Print Utility ver. 6.0
124 >
125 > Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
126 > This software comes with ABSOLUTELY NO WARRANTY.
127 > This is free software, and you are welcome to distribute it
128 > under certain conditions. See COPYING file for more details.
129 >
130 > error: Unable to communicate with device (code=12): hp:/net/Officejet_7300_series?zc=HPCC9932
131 > error: Unable to print to printer. Please check device and try again.
132 >
133 > note: If an error occured, or the test page failed to print, refer to the HPLIP website
134 > note: at: http://hplip.sourceforge.net for troubleshooting and support.
135 >
136 > Done.
137 > oldlap ~ #
138 >
139
140 Stupid question...might your firewall be dropping packets? Check your
141 firewall logs.
142
143 Similarly, is there a difference in network connectivity between the
144 machine that works and the two that don't?
145
146 Also similarly, is the mfp on the wireless network along with the
147 functioning box, while the two nonfunctioning boxes are on the wired
148 side of your network? In that case, firewall and protection mechanisms
149 on the router might be interfering.
150
151 --
152 :wq

Replies

Subject Author
Re: [gentoo-user] Re: network scanner not seen by xsane on *some* systems Allan Gottlieb <gottlieb@×××.edu>