Problem
I am running scoadmin: Printers->HP_Network_Printer_Manager
(also known as "hpnpcfg"). From the "HP NETWORK PRINTER
CONFIGURATION TASKS MAIN MENU" I select "#1) Verify installation
of software". This gives the following error:cat: cannot open /usr/lib/hpnp/install.files:
No such file or directory (error 2)Software verification passed.However, when I select "#2) Configure a printer with BOOTP/TFTP", I get:
"bootps" service not found in /etc/inetd.confConfigure inetd to support the bootps service if /etc/bootpd exists or install the HP Network Printer Interface software again to acquire the BOOTP software.
Press the return key to return to the main menu ...
Cause
HPNP remote network printing needs to be installed before
the HP Network Printer Manager options are valid. Or if it had
previously been installed, then one or more of the needed files
are missing, such as /usr/lib/hpnp/install.files, which contains
a list of files that should be installed, or
/usr/lib/hpnp/.installed, which flags the installation as
completed.Additionally, the message displayed when the Verify option is
selected is incorrect. This problem has been reported to SCO
Engineering and is scheduled to be addressed in an upcoming
release. Solution
From scoadmin select: Printers->HP Network Print Services Manager.
This brings up the "HP Network Printer Configuration" program
("mkdev hpnp"). You will get a prompt as: "Do you want to install
or remove network printing (i/r/q)? [q]:". Select type "i" to
install. This should resolve the problem. If it did not, come
back to this function and first choose "r" to remove and then "i"
to install.To correct the Verify routine so that it correctly fails when /usr/lib/hpnp/install.files does not exist, do the following:
1. Log in as root and change directory to /usr/lib/hpnp/cfg
2. Edit the file option1 and position to the line (circa line 49) that reads:
for NAME in `cat ${HPNPDIR}/install.files`3. Insert before that line the following:
if [ ! -f ${HPNPDIR}/install.files ]; then
ALLFINE=0
fi4. Change the following line (line 49):
FROM:for NAME in `cat ${HPNPDIR}/install.files`TO:for NAME in `cat ${HPNPDIR}/install.files 2>/dev/null`5. Save the changed changes and exit the editor.
NOTE: An alternative to steps 3 and 4 would be to do step 3,
but with "else" instead of "fi", and instead of step 4, put
the "fi" line after the for-do-done loop. See also
Manual pages: mkdev(ADM), scoadmin(ADM), scoadmin(F), scohelp(X)