38
CONFIGURING THE M204 FOR TCP/IP: Host Configuration
Host Software on page 19 for more details.
COMM_PROG
(mandatory) Specify a communication program to transfer
data to the M204 (i.e. npwrite, rsh). If the program is
npwrite, define the UNIT_PORT variable. Otherwise,
define the LP_DEST variable.
PRINTER_TYPE (mandatory) Specify printer type (i.e. raw, ascii, ps, hp, pcl-
ps, gen7170).
UNIT_NAME
(mandatory) Define the M204 IP name.
UNIT_PORT
(conditional) Specify the M204 port name (i.e. prn1, prn2,
com1, com2). Use only when COMM_PROG is defined as
npwrite.
LP_DEST
(conditional) Specify M204 destination name. Use only when
COMM_PROG is defined as rsh.
#END_MARK_1
NPDIR_PATH=/usr/local/bin
COMM_PROG=rsh
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.
4
Create the lp= device that is used as a locking mechanism for contending print
jobs.
touch /dev/spike.com2
chmod go+rw /dev/spike.com2
5
Start the print spooler.
lpc start hp
Example
Note
Содержание 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...