|
| |
DOS MODE command
MODE LPT#[:]=COM#
MODE LPT#[:] [width][,[lpi][,P]]
width Page print width (80 or 132, default:80)
lpi Vertical spacing in lines per inch (6 or 8, default:6)
P Continuous retry on time-out errors
MODE COM#[:]baud[,[parity][,[databits][,[stopbits][,P]]]]
baud Data baud rate (110,150,300,600,1200,2400,4800,4800,
9600 or 19200 (DOS 3.3), default:1200)
parity Data parity (N=none, E=even, O=Odd, default:E)
databits Number of data bits (7 or 8, default:7)
stopbits Number of stop bits (1 or 2, default:1 (2 for 110 baud))
P Continuous retry on time-out errors
MODE vmode [,[shiftmode][,T]]
vmode:
40 Set display width to 40 characters (color only)
80 Set display width to 80 characters (color only)
BW40 Set CGA display to 40 columns black and white (color only)
BW80 Set CGA display to 80 columns black and white (color only)
CO40 Set CGA display to 40 columns color (color only)
CO80 Set CGA display to 80 columns color (color only)
MONO Set display to MDA (monochrome only)
shiftmode:
R Shift display one character to right (color only)
L Shift display one character to left (color only)
T Display test pattern (color only)
MODE device CODEPAGE PREPARE = ((cpage)[d:][path]filespec)
MODE device CODEPAGE SELECT = cpage
MODE device CODEPAGE REFRESH
MODE device CODEPAGE /STATUS
device Device for codepage (CON, PRN, LPT#)
cpage Code page number, or a list in parenthesis. Must
be one of the following: 437, 850, 860, 863, 865
/STATUS Code page display status
Codepage is applicable to DOS version 3.3 and higher |