On Sat, Jul 07 2012, walt wrote:
> On 07/07/2012 11:03 AM, Allan Gottlieb wrote:
>> error: Unable to communicate with device (code=12):
>> hp:/net/Officejet_7300_series?zc=HPCC9932
>> error: Unable to print to printer. Please check device and try again.
>
> Make me want to throw your laptop out of my window

>
> You can ping your printer, so I'd want to know what network traffic
> is going/coming from cups/hplip, if any. (I really like ngrep because
> it's absolutely trivial to use, so that's the tool I would use.)
>
> I saw this simple test on the hplip debugging website:
>
>
>
> Determine the IP address of your printer by printing out the network
> configuration page (or if you know it or can determine it in another way)
>
> Run:
>
> $ hp-makeuri <ip-address>
>
> For example:
>
> $ hp-makeuri 192.168.1.1
>
> This will result in a device URI printed to the console. For example:
>
> hp:/net/Officejet_9100_series?ip=192.168.1.1
>
> Copy this device URI
> Open the CUPS UI:
>
> http://localhost:631
>
> (or YasT, etc) and install the printer by pasting the generated URI.
>
> I noticed that your hp:/<etc> URI looks reasonable, but I'd try using
> the ip address directly as an experiment. It's very quick even if
> it's useless
OK lets try (on oldlap, where I tried yesterday and previously today)
1. Remove all printers (via cups)
2. hp-makeuri 192.168.1.50
CUPS URI: hp:/net/Officejet_7300_series?ip=192.168.1.50
SANE URI: hpaio:/net/Officejet_7300_series?ip=192.168.1.50
HP Fax URI: hpfax:/net/Officejet_7300_series?ip=192.168.1.50
3. Install (via cups) hp:/net/Officejet_7300_series?ip=192.168.1.50
Prints fine.
4. xsane hpaio:/net/Officejet_7300_series?ip=192.168.1.50
WORKS !!
5. xsane no arguments
WORKS !!
Let's try ajglap now (main laptop)
1. Remove all printers (via cups).
2. hp-makeuri 192.168.1.50
CUPS URI: hp:/net/Officejet_7300_series?ip=192.168.1.50
SANE URI: hpaio:/net/Officejet_7300_series?ip=192.168.1.50
HP Fax URI: hpfax:/net/Officejet_7300_series?ip=192.168.1.50
3. Install (via cups) hp:/net/Officejet_7300_series?ip=192.168.1.50
Prints fine.
4. xsane hpaio:/net/Officejet_7300_series?ip=192.168.1.50
Works
5. xsane no arguments
Works
Walt and michael, thanks so much.
Walt, At least for me hp-setup is now replaced by hp-makeuri/cups as
the favorite way to reinstall printers after an hplip or cups emerge.
Again thank you. I can remember the last time I could print on both
printers from all three system and could run xsane on all three as well.
allan