beautypg.com

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

Page 53

background image

7/9/98

Using ROM-DOS 6.22 2-41

If you only specify a country code, ROM-DOS uses the default code
page for that country. You can choose the alternate code page by
including it in COUNTRY=. This command would tell ROM-DOS to use
German conventions, for things like date and time, but use code page
437 instead of 850, the default code page.

COUNTRY=049,437

Setting a system code page affects the sort order for alphabetizing and
the rules for converting international letters to upper case.

It is up to individual application programs to make use of these
conventions. For example, DOS itself uses the date format for
displaying directories and for showing and getting the current date and
time. Some programs may choose to ignore the country information
and continue to display dates in a specific format.

Displaying Different Code Pages

To display a code page other than the hardware code page, you must
load DISPLAY.SYS in CONFIG.SYS. The following command sets the
display to show code page 850, assuming both the DISPLAY.SYS
driver and the EGA.CPI font file were located in the c:\DOS directory:

DEVICE=c:\DOS\DISPLAY.SYS 850 c:\DOS\EGA.CPI

The available font files are named EGA.CPI and EGA3.CPI. They are
both used for EGA, VGA, and CGA systems. Refer to the section on
Display.sys for the supported countries within each EGA file.

If you have an EGA or VGA system, the character font immediately
switches to the requested code page. Some characters may look
different after you load DISPLAY.SYS because ROM-DOS uses its own
font for all 256 characters. For example, your hardware font might use
a square zero character, but ROM-DOS might use a round zero
character. The differences should be minor.

Printing Different Code Pages

At this time, ROM-DOS does not support printing code pages other
than those stored in the printer hardware.