![Microplex M204 Скачать руководство пользователя страница 51](http://html1.mh-extra.com/html/microplex/m204/m204_installation-and-configuration-manual_1788160051.webp)
CONFIGURING THE M204 FOR TCP/IP: Host Configuration
43
Starting npd
Starting the npd daemon is all that is needed to utilize npd. Integrating any special
applications can then 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
M204 IP name or IP address.
portname
M204 I/O port name (i.e. prn1, prn2, com1, com2).
The devicefile cannot exist prior to starting npd and this particular npd daemon can-
not be running already. It is possible to have more than one daemon running on the
same host, however, as long as they are not using the same devicefile.
npd /dev/spike.com2 spike com2
starts an npd daemon utilizing /dev/spike.com2 to send print jobs to the printer
attached to com2 on the M204 named spike.
By default, npd looks in the /dev directory to find a free pseudo-tty pair
(/dev/pty?? and /dev/tty?? files). However, 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.com2 spike com2
where /dev/pty is the directory to be searched for a free pseudo-tty pair.
Some systems such as HPUX place the master and slave devices in separate directo-
ries (e.g. /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.com2 spike com2
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.
npd locks
As npd acquires an exclusive lock on the M204 port, it is possible to lock out other
daemons that may reside on other UNIX hosts. Therefore, npd is designed to timeout
and release the lock if the pseudo-tty pair is idle for a specified time (30 seconds is the
Syntax
Note
Example
Example
Example
Содержание M204
Страница 8: ...vi LIST OF TABLES...
Страница 12: ...4 PREFACE Computer Entry and Display Conventions...
Страница 22: ...14 GETTING TO KNOW THE M204 Overview of Print Server Installation...
Страница 70: ...62 CONFIGURING THE M204 FOR NOVELL Host Configuration...
Страница 124: ...116 USING NPWIN Starting a NPWin Session With An Unconfigured Unit...
Страница 125: ...117...
Страница 126: ...118...
Страница 154: ...146 USING THE M204 S ADDITIONAL OPTIONS IP Routing...
Страница 166: ...156 TROUBLESHOOTING THE M204 Windows Problems...
Страница 192: ...182 GLOSSARY B A C...
Страница 196: ...186 APPENDIX A Planning Your Print Setup...
Страница 204: ...194 INDEX...