132
MULTIPORT SPOOLER VIII (4-, 8-, and 12-Port Models)
D.1.1.B Redirecting LPT1 to COM1
To send a command through a serial port, you need to set the serial port’s
communications parameters to match the parameters of the corresponding
Multiport Spooler VIII input port. Then you must redirect parallel port LPT1
to serial port COM1.
The following templates and example show how to use the SMODE
command that comes with the included software and the DOS MODE
command to set serial parameters. The only difference between the two is
that the SMODE permits the serial port to be set to 19,200 or 38,400 bps.
SMODE COMn:data_rate,parity, data_bits, stop_bits
MODE COMn: data_rate, parity, data_bits, stop_bits
n
1, 2, 3 or 4 (serial port number).
data_rate
300, 1200, 2400, 4800, 9600, 19200, or 38400 (bps) for
SMODE;
110, 150, 300, 1200, 2400, 4800, or 9600 (bps) for MODE;
only the first two digits are required by either command.
parity
N (no parity), O (odd), or E (even). The default is E.
data_bits
7 or 8. The default is 7.
stop_bits
1 or 2. The default is 2 at 110 bps, and 1 at all other data
rates.
For example, the command “SMODE COM1:96,N,8,1” selects 9600 bps, no
parity, 8 data bits and 1 stop bit.
The following template and example show how to use MODE to redirect
port LPT1 to port COM1:
MODE LPTx:=COMy
x
parallel-port number (1, 2, or 3)
y
serial-port number (1, 2, 3, or 4)
For example, the command “MODE LPT1:=COM1” redirects all data sent to
LPT1 to COM1.
D.1.2 T
RANSMISSION WITHIN A
T
ASK
Alternatively, you can embed control commands in the first 256 characters of
a job sent to the Multiport Spooler VIII. Any control commands embedded
after the first 256 characters are treated as normal data characters.
Содержание PI750A
Страница 119: ...111 APPENDIX A Cable Pinouts IBM AT to MPS VIII DB9M to DB25M...
Страница 173: ...NOTES...