" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
MODE COMMAND
Purpose: Sets the mode of a printing device, color graphic display or
asynchronous transmission adapter.
Syntax: [d:] [path] MODE <arguments> -----+
|
1. Redirection of standard printer output
PRN[:] = <DeviceName>[:]
2. Setting of the printer mode
LPTn[:] [[COLS=]c] [[LINES=]l] [TINY] [[RETRY=]r]
[[CHARS=]c] [ QUALITY= DRAFT|NLQ ]
3. Setting of the serial port mode
COMn[:] [BAUD=b] [DATA=d] [STOP=s] [PARITY=<ODD|EVEN|NONE>]
4. Setting of the display mode
[CON[:]] MONO|CO80|BW80|CO40|BW40| BiosModeNumber
COLS = m (40,80)
LINES = n (25,30,43/50)
[/B][/V][/N]
Setting of the keyboard mode
[CON[:]] RATE=r DELAY=d
Type: External command
Description:
Variant 1. Redirects Input/Output from PRN device to the device, specified
by the user.
Variant 2. Sets the mode of IBM-EPSON compatible printers, connected to
the parallel ports (LPT1 - LPT3).
Parameters:
n Specifies the parallel port number: 1,2,3
c Specifies the character per line: 40,80 or 132
l Specifies the character per inch: 6 or 8
r Specifies the retry action to take when time-out error occurs.
'E' - returns the error, when the device is busy
'B' - returns 'busy', when the device is busy
'R' - returns 'ready', when the device is busy
TINY Sets the minimal size characters printing mode
QUALITY Sets the ordinary print mode - DRAFT or quality print mode - NLQ
Variant 3. Controls the configuration of the serial port adapter.
Parameters:
n Specifies the number of the serial port;1,2,3,4.
b Specifies the transmission rate:
110,150,300,600,1200,2400,4800,9600 bits per second
p Specifies the parity: NONE, ODD, EVEN.
D Specifies the number of data bit: 5, 6, 7 or 8
s Specifies the number of stop bits: 1, 1.5 or 2
The default value is 7 data bit and EVEN.
Variant 4. Specifies the active video adapter and its display mode or
resets the current mode of adapter display.
Parameters:
BiosModeNumber Specifies the number of the display mode:
BW40, BW80, CO40, CO80 or MONO.
m Specifies the number of characters per line: 40 or 80
n Specifies the number of lines on the display:
25,30 or 43/50
/B Using default BIOS interrupt
/V Using default VGA interrupt
/N Allows you not to check the display type
BW40 switches a color graphics adapter and specifies a monochrome
display adapter with a display of 40 characters per line.
BW80 switches a color graphics adapter and specifies a monochrome
display adapter with a display of 80 characters per line.
CO40 switches a color graphics adapter and specifies color display
adapter with a display of 40 characters per line.
CO80 switches a color graphics adapter and specifies color display
adapter with a display of 80 characters per line.
MONO initialize a monochrome display adapter with a constant
display of 80 characters per line.
Variant 5. Sets keyboard typematic rate.
Parameters:
r Specifies the typematic interval time. The range for possible values
is 1-32.
d Specifies the auto-repeat start delay time. Possible values are 1-4.
(Respectively .25, .50, .75 and 1 second).