ROM-DOS Commands
129
E-EQ-MX1ISRG-F
MX1 I-Safe Reference Guide
MODE.COM
External Command
The MODE command modifies the operation of the printer, serial port, and active video display.
Note: The MX1-IS does not have RS-232 serial port capability.
Syntax
MODE LPT#[:]=COM#[:]
MODE CO
M
#:
bau
d
[,parit
y
[,databit
s
[,stopbit
s
[,
P]]]]
MODE
<video mod
e>
MODE
<display line
s>
Remarks
The first syntax above redirects line printer output to the serial port.
The second syntax above changes the operation of the specified communications port. The options
that can be modified are listed below. InValid for any of the options are flagged with an error
message.
baud
110, 150, 300, 600, 1200, 2400, 4800, 9600
parity
N - None, O - Odd, E - Even
databits
Either 7 or 8
stopbits
Either 1 or 2 stop bits
P
Printer Port
Using the P option as the last argument causes output to be sent repeatedly to the printer port until
successfully received. Without the P, output is sent only once, causing a critical error if
unsuccessful.
The third syntax changes the active video mode for the display terminal. The valid choices for this
version of the MODE command are as follows:
40—Indicates 40 characters per line.
80—Indicates 80 characters per line.
bw40—For a color graphics adapter with color disabled and 40 characters per line.
bw80—For a color graphics adapter with color disabled and 80 characters per line.
co40—Indicates a color monitor with color enabled and 40 characters per line.
co80—Indicates a color monitor with color enabled and 80 characters per line.
mono—For a monochrome display. Assumes 80 characters per line.
The final syntax sets the number of display lines. Valid included L25, L43, and L50.
Note:
A serial port should be initialized before an LPT device is redirected to it.
Summary of Contents for MX1-IS
Page 38: ...28 Miscellaneous Connectors MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 42: ...32 Handling Batteries Safely MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 124: ...114 Numeric Alpha Key Map 41 Key MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 156: ...146 ROM DOS 6 22 Command Summary MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 164: ...154 Index MX1 I Safe Reference Guide E EQ MX1ISRG F...