beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 143

background image

7/9/98

ROM-DOS 6.22 Command Descriptions 3-85

MODE (cont.)

The final format changes the active video mode for the display
terminal. The valid choices for this version of the MODE command are
as follows:

Value

Description

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.

Using P as the last argument repeatedly sends output to the printer
port until successfully received. Without P, output is sent only once
causing a critical error if unsuccessful.

A serial port should be initialized before a LPT device is

redirected to it.

Examples

MODE COM1:9600,n,8,1

Modifies the settings for the COM1 device to a baud rate of 9600, no
parity, eight data bits, and one stop bit.

MODE LPT2:=COM2

Redirects the output from LPT2 to the COM2 serial port. All following
output to LPT2 actually goes to the COM2 device.