Incorrect work with network printer attached via usb to remote machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm using HP JaserJet P2015 printer, connected to my router by USB
I've CUPS installed on my router. The printer is configured with hp-setup from HPLIP.
Here is my /etc/cups.
# Printer configuration file for CUPS v1.3.11
# Written by cupsd on 2010-04-27 12:27
<DefaultPrinter ljet>
Info
Location
DeviceURI hp:/usb/
State Idle
StateTime 1272346050
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
On my pc connected to router I've CUPS and HPLIP installed. I've changed /etc/cups/
ServerName router.mynet
So, printer is visible by lp-stat:
# lpstat -a
ljet accepting requests since Tue 27 Apr 2010 12:37:29 PM
And printing working. By when I try to run "hp-check -t" I get the following error:
----
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP LaserJet Plus Foomatic/ljetplus (recommended)
Printer status: printer ljet is idle. enabled since Tue 27 Apr 2010 11:54:14 AM
error: Unable to communicate with device (code=12): hp:/usb/
error: Device not found
error: Communication status: Failed
As you can see, such Device URI can't be correct for remote machine.
So, when I run hp-toolbox, I get "Device communication error 5012" with tons of annoying popups and can't manage printer queue/options.
this bug in cups bugtracker: http://
description: | updated |
I've received the following mail related to this issue:
> HPLIP's tools like hp-toolbox do not support this kind of hplipopensource .com/node/ 286 ------- ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ------- ---- hplipopensource .com/node/ 287 ------- ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ------- ---- en.opensuse. org/SDB: Configuring_ Scanners_ from_SUSE_ LINUX_9. 2
> network connected printers, see
> http://
> -------
> Does HPLIP support networked printers?
> Answer:
> Yes, HPLIP supports printers that are directly network connected
> (via a built-in Ethernet port) or connected to a network
> via a JetDirect.
> -------
> and
> http://
> -------
> What network print servers are supported?
> Answer:
> Currently we have only tested HP JetDirect devices with HPLIP.
> No other network print servers are supported.
> -------
>
> What you do is network printing via CUPS and this limits the
> supported functionality to what is provided by CUPS.
>
>
> For example if a HP all-in-one device was connected as you do it,
> you could not use its scanner unit with HPLIP's tools from the
> remote machine but you could set up "Scanning via Network" see
> http://
> which results scanning via network via SANE and limits the
> supported scanning functionality to what is provided by SANE.
>
>
> To use HPLIP's special functionality from a remote machine you need
> to have the device "directly network connected" as described above.
>
> The reason behind is:
> HPLIP's special functionality (e.g. get the device status - do not
> confuse the actual device status with a remote print queue status)
> needs a direct bidirectional communication with the device
> and not whatever kind of indirect communication.
>
>
> Kind Regards
> Johannes Meixner
I've read pages on hplipsource.com and I still insisting that that behavior
like this is certainly HPLIP's bug.
I think that HPLIP should give more descriptive error message at least.
And it's certainly shouldn't show tons of useless popup notifications.