Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#13223 closed bug (invalid)

Cannot print to HP printer using hostname

Reported by: vidrep Owned by: phoudoin
Priority: normal Milestone: Unscheduled
Component: Printing Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev50881 x86_gcc2 HP Photosmart 2610 all-in-one Using either LPR or HP Jetdirect, I am able to print using the IP address, but it fails to print when using Hostname. However, I am able to print either way to both of my Epson printers. Is this a HP only printer issue or a Haiku issue?

Change History (10)

comment:1 by phoudoin, 7 years ago

Does your Epson printers are used over LPR or HP JetDirect too?

And if possible, could you show the address string of your LPR or HP JetDirect ?

Last edited 7 years ago by phoudoin (previous) (diff)

comment:2 by vidrep, 7 years ago

The Epson printers both work over LPR or HP JetDirect. Showing server names for each, LPR and HP JetDirect parameters.

Epson XP-820 and Epson NX625

Server Name: EPSON002D13 / EPSON66A22E

Queue Name (LPR): LPT1_PASSTHRU

Port (HP JetDirect): 9100

comment:3 by vidrep, 7 years ago

The HP Photosmart 2610 network settings are below:

Hostname: HPB469D3

IP Address: 192.168.1.76

Setting up this printer for HP JetDirect:

Server Name: HPB469D3

Port: 9100

Error: "Failed to connect to HPB469D3:9100!"

Substituting the IP address for the hostname will allow it to print OK.

comment:4 by vidrep, 7 years ago

Setting up the HP printer for LPR does not work either way.

Server name: 192.168.1.76

Queue name: LPT1_PASSTHRU

Error: "connect failed. errno = -2147454944"

Server name: HPB469D3

Queue name: LPT1_PASSTHRU

Error: "gethostbyname failed. errno = 0"

comment:5 by vidrep, 7 years ago

Here's the ticket that originally got me looking into the issue: https://dev.haiku-os.org/ticket/9278

comment:6 by phoudoin, 7 years ago

Sounds like Epson printers have some local DNS supports, not the HP ones.

comment:7 by phoudoin, 7 years ago

Does opening their web interface works from WebPositive ?

http://HPB469D3

?

comment:8 by vidrep, 7 years ago

I can access the web interface http://hpb469d3/ from Microsoft Edge, but not from Haiku Web+ or from Ubuntu Firefox.

comment:9 by phoudoin, 7 years ago

So, the "HPB469D3" name is not resolved on non-Netbios aware OS. As we don't have support for ZeroConf/Bonjour, that's expected.

I've no proof of that, but I wont be surprised that Epson firmware have a small DNS service that reply to query matching the printer name. As does many plug & and play network devices.

Doesn't seems an actual issue in print driver or haiku network.

Without dynamic resolution via ZeroConf or similar, what you can do is to add your HP printers ip addresses and hostnames in /boot/system/settings/network/hosts file.

Version 0, edited 7 years ago by phoudoin (next)

comment:10 by phoudoin, 7 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.