Print Server not Recognized

Asked by fredor

I have a HP Business Inkjet 2200 attached to an Edimax PS1206P print server.
While I can ping the IP address and get a response, it is not detected by 'hp-setup', 'hp-makeuri' or 'hp-probe' etc.
On linux, I am using 'cups' which works fine when the printer is directly connected to LPT1 but I am unable to set it up via the print server.
I have tried numerous URI's but have been unable to find one to work.
Also I can connect to the print server with a web browser which shows the server connected to the printer.
Using Windows Vista from the same computer, the printer and print server work fine.
Why does hp-setup etc not detect the printer?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
fredor
Solved:
Last query:
Last reply:
Revision history for this message
Francesco Conti (madmoose) said :
#1

I think hp-tools are only for HP branded print servers.
This is uri for my generic-network-printer:
  lpd://IPADDRESS/IPADDRESS_raw

Substitute both IPADDRESS with your printer server IP address (don't forget "_raw" at end of uri)

Revision history for this message
fredor (fd) said :
#2

Francesco Conti -
Many thanks for your suggestion.
I have just tried "Device URI: lpd://192.168.0.4/192.168.0.4_raw" but it still fails to print.
 "/usr/libexec/cups/backend/lpd" gives
network lpd "Unknown" "LPD/LPR Host or Printer"

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

The problem is most likely that the print server is not returning the same information that the printer would itself. We do test HP JetDirect devices which provide this sort of functionality but we do not support any other print servers.

To verify you can run smpwalk, following the directions here http://hplip.sourceforge.net/troubleshooting/network.html and post the output. However it's most probable that's what's going on.

Sorry!

A

Revision history for this message
fredor (fd) said :
#4

Output from smpwalk :-

enterprises.11.2.3.9.1.1.7.0 = STRING: "PSB033F0"

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Yup it's exactly as I feared. It's the print server that is reporting it's own information rather than allowing the printer to be queried and pass it's info through.

Sorry I couldn't help more..

A

Revision history for this message
fredor (fd) said :
#6

Thanks for trying.
It seems the URI ipp://129.168.0.4/ipp/port1 connects but it just doesn't print.
/usr/libexec/cups/backend/ipp give:-
network ipp "Unknown" "Internet Printing Protocol (ipp)"

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

Changing status to answered.

A

Revision history for this message
Francesco Conti (madmoose) said :
#8

Instructions to configure your printserver with linux (the classical way) from Edimax PS 1206 P manual:

6.5 Configure Remote LPD Printing on the Host
The procedure you use to configure your Unix host(s) to
allow printing to your network remote print server varies
between different varieties of Unix. The procedure below
can be used for Unix variants that are related to BSD Unix,
such as SunOS or Linux. For other versions of Unix,
consult your system documentation, keeping in mind that:
1. The print server should be treated as a BSD networked
printserver host.
2. The host name should be the name (or IP address) that
you have assigned to the printserver .
3. The printer name (or queue name) on the remote host
should be lpt1, lpt2 or lpt3 , the name of the printer port on
the printserver.
You will need to perform the tasks be low, logged in as the
super user (root). To configure your Unix host for printing,
1. Optionally, assign a name corresponding to the print
server ’s IP address. You can add this address to the
/etc/hosts file , by adding a line such as:
                         203.66.191.186 pserver
2. Create a spool directory for the printer in the same
directory where spool directories are normally kept on the
machine, such as /var/spool or /var/spool/lpd:
                         mkdir /var/spool/lpd/pserverd
                         chown daemon /var/spool/lpd/pserverd
                         chgrp daemon /var/spool/lpd/pserverd
  chmod 775 /var/spool/lpd/pserverd
3. Add an entry to the host’s /etc/printcap file, similar to
the following:
                         printer-name:\
                          :lp=:\
                          :rm=203.66.191.186:\
                          :rp=lpt1:\
                          :lf=/var/spool/lpd/pserverd.log:\
                          :sd=/var/spool/lpd/pserverd:\
                          :mx#0:
Lines should be indented with tabs. More than one printer
name can be used, with variants separated by vertical bars
(name1|name2).
The rm= entry should correspond to the IP address you
have assigned to the printserver . You can also use a host
name if you have assigned one in the /etc/hosts file.
The sd= entry should correspond to the spool directory you
created in the previous step.
The rp= entry should correspond to the port name of the
remote printer. The values should be one of lpt1, lpt2 or
lpt3 depends on the printer port.
The printserver should now be available for printing from
your Unix host.

Revision history for this message
fredor (fd) said :
#9

Franscesco Conti
Many thanks for your suggestions.
I have in fact got the Edimax PS1206P manual which has the method you suggest.
The problem is I am using Gentoo Linux with CUPS and the 'printcap' file is automatically written by 'cupsd' and any alterations made are overwritten when cupsd is re-started.

Revision history for this message
fredor (fd) said :
#10

I have switched back to using a computer as a print server.
It's a little less convenient as the computer has to be on but it works fine.
Rather surprisingly 'hp-probe' does not recognize the parallel printer so it's not surprising it did not recognize a network printer.

Revision history for this message
NoName (marcoestanqueiro) said :
#11

Maybe this information will be useful for someone with PS1206P and Ubuntu.

A finished the installation of my PS1206P using this url lpd://MY_IPADDRESS/lpt1. The default IP is 192.168.2.2.