Understanding Devinfo Statements

The device (DEVINFO) statements in the CONFIG.SYS file prepare a device (such as a keyboard, display, and printer) for code-page switching. Separate DEVINFO statements are required for each device to be used for code-page switching.

There are three different DEVINFO statements:

KBD
Prepares a keyboard for code-page switching. The keyboard statement specifies the keyboard layout ID (keyboard country and subcountry codes) and a file named KEYBOARD.DCP that contains a keyboard layout table for translating keystrokes into the characters of each code page supported by the OS/2 operating system.

SCR
Prepares a display screen for code-page switching. The display statement specifies the display name and a file named VIOTBL.DCP that contains a video font table for displaying characters in each of the code pages supported by the OS/2 operating system.

LPT#
Prepares a printer for code-page switching. The printer statement specifies the printer name and a file with a .DCP extension that contains a printer font table for each code page supported by the OS/2 operating system.

NOTE:
The display and printers each have a default character set. The keyboard and country information default to the national language code page supported by the country code specified in the COUNTRY statement.

For more information on OS/2-supported languages, countries, and code pages, consult the OS/2 2.0 Command Reference (online or printed) and online Master Help Index.