Author Topic: HP print server  (Read 313 times)

Offline dougmack

  • Hero Member
  • *****
  • Posts: 978
HP print server
« on: October 26, 2012, 10:26:48 PM »
Background.
Was having a little trouble with an outboard printer server--a TrendNet 100-P21, which just possibly was damaged by nearby
lightning storm It would print from Linux, but no longer from windows, on several machines.  Its purpose was to convert an
ethernet line (via router) to usb for an HP 2200d LaserJet.

So, HP website said that an HP620N would work with just about any printer, so I bought one and plugged it into the
available slot in the printer. The closest I can come to seeing it is in PCLOS Control Center>Hardware>Configure printing and scanning.
Find Printer doesn't work. However, under Network Printer, appears "AppSocket/HPDirect so the computer knows the card is
there. Windows d(7 and XP) doesn't seem to see it at all.

Altho this is technically a network, it has no "host" AFACT--it's just 3 computers tying in to a router, and one of the router ports
goes to the Ethernet card in the printer. 

In PCC under "Location of network printer,  there are two fill-in boxes: Host: and Port number:. Host is blank, port number says 9100. Without filling in Host box, one can go no further.

I googled the HP 620n and found a couple of monster files--120+ printer pages of PDF file--and a .dld file that purports to be an
updated firmware.  No info as to how to install it, or if it might help. 

Right now I'm worse off than with the TrendNet print server. At least I could print from Linux most of the time. 
I am not a programmer, and have almost no familiarity with programming the BASH system, but i would appreciater
it if someone out there can tell me how o get this working--in layman's language, please!

--doug
Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1521
    • PCLinuxOS.nl
Re: HP print server
« Reply #1 on: October 27, 2012, 03:00:28 AM »
Do not know the ageing from this printserver, but mostly you can login on the server with http://IPnumber, older ones with telnet IPnumber.
IPnumber can be found by printing the setup from within the printer menu.
When the IP is outside the range of your network, change the IPnumber from one of your PC's manual to the printserver range and change the server's adres to a manual IP fitting in your network.
Don't forget to set back the settings from your PC.
Now the printer can be recognised in your network.

Hope this helps.

Offline dougmack

  • Hero Member
  • *****
  • Posts: 978
Re: HP print server
« Reply #2 on: October 27, 2012, 11:29:48 PM »
Thank you, DeBaas.  Between your input and some info from HP, I have the IP of the JetDirect. Now I know the IP of the JetDirect, and the printer setup would let me use that, but it is not in the normal
LAN range, as you have surmised, and that setup doesn't work. It is 127.0.0.1, which I can access via the browser, and it comes up with "The Server is alive and working."
I need some fine detail to take action on your instructions, quote: "When the IP is outside the range of your network, change the IP number from one of your PC's manual to the printserver range and change the server's adres to a manual IP fitting in your network. Don't forget to set back the settings from your PC. I'm afraid if I goof up, I may make an IP unreachable, so I'd appreciate your "leading me by the hand"
as it were. Of course the LAN range starts out with 192.168.x.y, and x seems to be always 0 or 1. This computer comes up as 192.168.0.100.
I have looked up the man page for route add, which told me to use ip route, but I'm afraid I'm snowed by the man page!

Please note that (AFAIK) this computer and the other two on the LAN use dynamic IPs.  I don't know if that matters, but I thought I'd mention it. 
It appears that the JetDirect will be set to a static IP, is that correct? 

I will try to incorporate whatever you suggest on the 28th, barring any interference from hurricane Sandy. (I'm on Long Island.) Thank you once again.

--doug
Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1521
    • PCLinuxOS.nl
Re: HP print server
« Reply #3 on: October 28, 2012, 05:58:56 AM »
127.0.0.1 is an internal IP address of each machine.
Has your printer a display where you can setup your printer ?
Then there should be a setup option for the network of the jetdirect card.
A safe option to set a manual address in your network should be:
IP 192.168.0.50 (your DHCP starts at 192.168.0.100 so no conflicts)
Netmask 255.255.255.0
Gateway 192.168.0.1 (Your router, not needed for only in house networkprinting)
If so, after a shutdown and restart from the printer, the jetdirect should be vissible as 192.168.0.50 in your network.
Now configure your printer on Linux and other boxes ;)

Ed

Offline dougmack

  • Hero Member
  • *****
  • Posts: 978
Re: HP print server
« Reply #4 on: October 28, 2012, 12:32:15 PM »
There is no display on the printer.  I will have to use route add or ip route. (Man iproute says it's obsolete.) If route add still works, I'll use that, since I have an example in an HP sheet. 
As I mentioned, the man pages for route add and ip route snow me! I'll post back if it works--or if it doesn't!

--doug
Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley