![Microplex M204 Installation And Configuration Manual Download Page 42](http://html1.mh-extra.com/html/microplex/m204/m204_installation-and-configuration-manual_1788160042.webp)
34
CONFIGURING THE M204 FOR TCP/IP: Host Configuration
translate data to printer format
) |
communication program
where communication program is the command executing rsh/rcmd/remsh or
npwrite so the print job is redirected over the network to the M204.
(
FILE=$6
#the spool file is found in the sixth parameter on System V
cat $FILE | onlcr
#filter the job
) | rcmd spike lp -d d3com1
where spike is the name of the M204 and the print jobs are being sent to its destina-
tion d3com1 by remotely executing the print server’s lp print command.
Please see npwrite on page 30, rsh/rcmd/remsh on page 31, and lp on page 89 for
more details on each command’s syntax.
Even if you have a very simplistic script, it’s important that you enclose your script
with brackets and then add in a communication program at the end.
Using npd and Your Own Script
If npd is the print method you would like to use with your interface script, you need to
start the npd daemon on your host and then incorporate it into your print setup. Please
see npd Pseudo-device Interface on page 42 to find out more about npd and how to
get it started.
Once you have this daemon running, you can go ahead and work it into your printer
configuration. For BSD systems, this requires an lp= field in your printcap entry along
with the standard if= field for the name of your interface script. The lp= field is filled
in with the name of the npd devicefile used in npd’s startup command. If you have a
System V setup, the -v option in the lpadmin command will equal the npd devicefile.
Example
Note
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...