npd Pseudo-device Interface
167
Starting the npd daemon is all that is needed to utilize npd. Integrating
any special applications can be done anytime thereafter.
Use the following syntax to start npd:
npd
devicefile ipname portname
where
:
devicefile
Name for a pseudo-tty pair’s slave device acquired by
npd
ipname
Internal Ethernet Adapter IP name or IP Address
portname
Internal Ethernet Adapter I/O port name (i.e. prn)
NOTE: The
devicefile
cannot exist prior to starting npd and this
particular npd daemon cannot be running already. You can
have more than one daemon running on the same host, as long
as they are not using the same
devicefile
.
npd /dev/spike.prn spike prn
starts an npd daemon utilizing
/dev/spike.prn
to send print jobs to
the printer attached to the parallel port on the Internal Ethernet Adapter
named spike.
By default, npd looks in the /dev directory to find a free pseudo-tty pair
(/dev/pty?? and /dev/tty?? files). If your UNIX system has these files in
a different directory, you can specify the directory pathname with a -p
option.
npd -p /dev/pty /dev/spike.prn spike prn
where /dev/pty is the directory to be searched for a free pseudo-tty pair.
Some systems, such as HP-UX, place the master and slave devices in
separate directories (i.e. /dev/ptym and /dev/pty). Specify where each
of the pairs reside with the -pm and -ps options.
npd -pm /dev/ptym -ps /dev pty /dev/spike.prn spike prn
where /dev/ptym is the directory searched to find a free pseudo-tty
pair’s master device and /dev/pty is the directory used for locating the
pseudo-tty pair slave device.
Summary of Contents for PrintNet 5525B
Page 1: ...5525B 31 32 Line Matrix Printer User s Manual ...
Page 3: ...5525B 31 32 Line Matrix Printer User s Manual P N 422721 001 ...
Page 10: ...Table of Contents 10 ...
Page 194: ...Chapter 5 Configuring the Internal Ethernet Adapter for Windows 194 ...
Page 199: ...Printing a Hex Dump 199 Figure 15 Hex Dump Sample ...
Page 220: ...Appendix C 220 ...
Page 236: ...Index 236 ...
Page 237: ......
Page 238: ...170115 001A 5525B 31 32 Line Matrix Printer Compaq Computer Corporation P N 422721 001 ...