hpnpcfg(ADM)
hpnpcfg --
configure HP Network Printers
Syntax
/usr/lib/hpnp/hpnpcfg
Description
hpnpcfg is a menu driven configuration utility for configuring
HP Network Printers. An HP Network Printer is
attached directly to the network using a built-in network card.
hpnpcfg has eight options for checking and modifying the
configuration of an HP Network Printer. These options are:
-
Verifies that all the software needed to support the HP Network
Printer has been properly installed.
-
Modifies the file /etc/inetd.conf to include the
``bootps'' service
so that the Network Printer can use the BOOT Protocol to download
its configuration. Configuration values are the ethernet address of the
Network Printer, the network name for the printer, subnet mask if the printer
resides within a subnet, a gateway mask so that hosts outside the subnet can
access the printer, the name of the syslog server for printer error messages,
the idle time-out value, the access list of hosts that can access the printer,
and SNMP related parameters such as location, contact person,
community name, traps and trap destinations.
-
Not supported.
-
Uses the
ping(ADMN)
utility to verify that the printer is responding to network requests.
-
Allows the administrator to test the operation of the Network Printer
by sending files to the printer. These files are a text test file, a
PostScript test file, and an HP-GL/2 test file.
-
Uses
lpadmin(ADM)
to add the Network Printer to the list of printers accessible
via the
lp(C)
command. A special interface script is used to pass the
output of the printer interface script to a filter,
hpnpf(ADM).
-
Removes the specified Network Printer's BOOTP/TFTP
configuration.
-
Removes the specified Network Printer's system spooler
configuration.
Configuring support for Network Printers
You must run mkdev hpnp when installing the first
Network Printer. This amends the files /etc/inetd.conf
and /etc/services to support the boot protocol
(BOOTP) used by the printers. It also installs
utilities and printer interface programs used by the print
service. It then calls hpnpcfg to allow you to
configure individual printers.
Files
/usr/lib/hpnp/cfg/*-
location of scripts invoked by hpnpcfg
/usr/lib/hpnp/hpnp.model-
special interface script that passes the output of the printer
interface script to
hpnpf
/etc/inetd.conf-
internet daemon configuration file
/etc/bootptab-
boot protocol daemon configuration file
See also
bootpd(ADMN),
hpnpf(ADM),
hpnptyd(ADM),
inetd(ADMN),
lp(C),
mkdev(ADM)
Standards conformance
hpnpcfg is not part of any currently supported standard;
it was developed by Hewlett Packard and is used with permission.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005