HP (Hewlett-Packard) M208 Switch User Manual


 
CONFIGURING THE M208 FOR TCP/IP: Host Configuration 53
#END_MARK_1
NPDIR_PATH=/usr/local/bin
COMM_PROG=rcmd
UNIT_NAME=spike
LP_DEST=d4com2
PRINTER_TYPE=hp
BANNERPAGE=1
#START_MARK_1
Additional variables can also be defined within this variable section as indicated
by BANNERPAGE=1. Some other options are ASCII to PostScript conversion,
carriage return insertion, and scrambling. By setting a particular variable to a 1,
this option is then turned on and a 0 turns it off. These too are described further in
the beginning of npr.if.
3 Create the dummy output device file used as a locking mechanism between con-
tending print jobs.
touch /dev/spike.com2
chmod go+rw /dev/spike.com2
4 Install a new printer specifying printer name, interface script name, and dummy
device created in Step 3.
/usr/lib/lpadmin -php -mnpr.if -v/dev/spike.com2
5 Start the scheduler.
lpsched
6 Enable the printer and allow it to accept requests.
enable hp
accept hp
7 Try printing a file with the following syntax:
lp -d
printername filename
Examp
l
e
Note
Syntax