3k Associates Inc HP3000 FAQ TWiki TWiki > TWiki > HP3000FAQ > Hp3000Hardware > Hp3000ConfigureNetworkPrinter TWiki webs:
Main | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

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.

-- ChrisBartram - 17 May 2006

in the above example:

  1. (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).



Topic Hp3000ConfigureNetworkPrinter . { Edit | Attach | Backlinks: Web All webs | Printable | History: r3 < r2 < r1 More }
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.Hp3000ConfigureNetworkPrinter