![Microplex M204 Installation And Configuration Manual Download Page 39](http://html1.mh-extra.com/html/microplex/m204/m204_installation-and-configuration-manual_1788160039.webp)
CONFIGURING THE M204 FOR TCP/IP: Host Configuration
31
or, if no file is specified, from standard input. The format of the data is not altered by
this program so make sure it is in printer-ready format.
The syntax for npwrite is:
npwrite
ipname portname [filenames]
where:
ipname
M204 IP name or IP address.
portname
I/O port on the M204 (i.e. prn1, prn2, com1, com2).
filenames
[optional]. Filename(s) to be printed. If no filename is specified, data is
read from standard input.
npwrite 192.75.11.32 prn1 testfile.txt
npwrite spike com2 testfile.txt
cat testfile.txt | npwrite 192.75.11.32 prn1
where spike and 192.75.11.32 are the M204’s IP name and IP address.
For more information on npwrite, please refer to the online manual pages. If the
npwrite binary is not available for your UNIX machine, use rsh/rcmd/remsh instead.
rsh/rcmd/remsh
The rsh/rcmd/remsh programs are remote command execution clients that talk to the
rshd server in the M204. rsh, rcmd, and remsh are actually the same programs but
have different names on different UNIX systems; some systems may even have
another name for remote command. Enter man rshd to display the online manual
pages for information on the remote shell server for your version of UNIX.
The Print Server provides lp, lpstat, and cancel programs for print services through
the rshd server. The lp command reads data from standard input and sends it to the
specified port as follows:
•
on SCO UNIX, either of the following:
rcmd spike lp -d d1prn1 < testfile.txt
cat testfile.txt | rcmd spike lp -d d1prn1
Syntax
Example
Example
Summary of Contents for M204
Page 8: ...vi LIST OF TABLES...
Page 12: ...4 PREFACE Computer Entry and Display Conventions...
Page 22: ...14 GETTING TO KNOW THE M204 Overview of Print Server Installation...
Page 70: ...62 CONFIGURING THE M204 FOR NOVELL Host Configuration...
Page 124: ...116 USING NPWIN Starting a NPWin Session With An Unconfigured Unit...
Page 125: ...117...
Page 126: ...118...
Page 154: ...146 USING THE M204 S ADDITIONAL OPTIONS IP Routing...
Page 166: ...156 TROUBLESHOOTING THE M204 Windows Problems...
Page 192: ...182 GLOSSARY B A C...
Page 196: ...186 APPENDIX A Planning Your Print Setup...
Page 204: ...194 INDEX...