%META:TOPICINFO{author="ChrisBartram" date="1170373165" format="1.1" version="1.3"}% %META:TOPICPARENT{name="Hp3000Hardware"}% ---+ Configuring a network printer on an HP3000
1) Run IOCONFIG.PUB.SYS
2) ioconfig: ADEV ####;PATH=NONE;ID=HPTCPJD
3) ioconfig: AC classname;LDEV=#### (optional)
4) ioconfig: EXIT
5) Add dev# and ip address in NPCONFIG.PUB.SYS
1000 (network_address = 128.128.50.1) #IS dept NMIS02
1001 (network_address = 128.128.50.2) #Computer room NMIS01
6) STARTSPOOL #####
TO DELETE PRINTER
1) STOPSPOOL ####
2) Run IOCONFIG.PUB.SYS
3) ioconfig: DDEV####
4) ioconfig: EXIT
The above is all it takes to add a network printer to the HP3000. The # signs in the NPCONFIG file are for comments.
Notes:
HP only supports "PCL" printers and JetDirect cards/boxes. The limiting factor with cards/boxes is that the MPE spooler uses SNMP status queries with the print card/box to get it's "status". Since most other "compatible" network-printer solutions don't support SNMP in exactly the same way, it won't (fully) work on other than Jetdirect hardware. The loss here is page-level recovery and status info. If you can do without that, you can add the following keyword to your NMCONFIG entry to turn SNMP off and allow you to print to non-JetDirect hardware:
snmp_enabled = FALSE
Also, for those of you trying to cheat and get non-HP (or non PCL printers) to work, some other valuable keywords you can add to a printer description in NPCONFIG are:
pjl_supported = FALSE
jam_recovery = FALSE
For example, even HP256x printers have been made to work via network printing with these keywords.
--[[RickClark]]
*And for you unfortunate folks with firewalls:*
To get your system talking to a Jetdirect equipped network printer through a firewall, you need to allow
The TCP data port (default is TCP port 9100) to go from the 3000 to the printer
SNMP queries on UDP ports 161 and 162
Some firewalls (and some security policies) may have problems with allowing SNMP - in which case you can turn it off in the NPCONFIG file entry for the printer (snmp_enabled = FALSE), but no printer status checking will work.
-- Main.ChrisBartram - 17 May 2006
in the above example:
1000 (network_address = 128.128.50.1) #IS dept NMIS02
the network_address can also be equated to a dns name (eg, deptprt1.company.com). in some environments, this may help to avoid maintenance (where the name remains the same, but ip address changes).