[comp.sys.ibm.pc] .CPI Files - What are they?

mholtz@sactoh0.UUCP (Mark A. Holtz) (01/08/90)

I am a new user to DOS, so I am a bit unfamiliar with things. . . 
 
I am using a Packard-Bell AT-Compatible computer with MS-DOS 3.3. I
notice in my /DOS directory four files: 4201.CPI, 5202.CPI,
EGA.CPI, and LCD.CPI. What are they, how can they be used, and
where can I find out more info about them?
-- 
{ames att sun}!pacbell! \                 <-> America OnLine: Mark Holtz
        ucdavis!csusac! -> sactoh0!mholtz <=>       GEnie: M.HOLTZ
           uunet!mmsac! /                 <-> Home Phone: (916) 722-8522

daves@dbase.UUCP (Dave Schnepper) (01/09/90)

CPI stands for "Code Page Information".  Code-pages are IBM/DOS's way
of supporting languages with glyphs (characters) that were not in
the original definition of the IBM PC's character set.  For instance,
Danish, Norwegian, Arabic, Hebrew, most Eastern European languages, 
Portugese, etc.

The character set documented in your DOS manual is CP (Code Page) 437
(USA standard English).  This is also used by most of Western Europe.
Code Page 850 was developed a couple of years ago and has the 
characters for all of Western Europe.

As a USA/English user you should not have to worry about CPI files or
code page information.  Check your DOS manual under Code Page or 
chcp or NLSFUNC or COUNTRY= if you want more information.

Dave Schnepper
Architect for International Software
Ashton-Tate
Los Gatos
daves@ashtate

baird@cod.NOSC.MIL (John M. Baird) (01/09/90)

From article <2391@sactoh0.UUCP>, by mholtz@sactoh0.UUCP (Mark A. Holtz):
> I am using a Packard-Bell AT-Compatible computer with MS-DOS 3.3. 
> I notice in my /DOS directory four files: 4201.CPI, 5202.CPI,
> EGA.CPI, and LCD.CPI. What are they, how can they be used, and
> where can I find out more info about them?

What follows is introductory material from HELPSB. Consult your DOS manual
for details of how to use .CPI files with DISPLAY.SYS and PRINTER.SYS in
the CONFIG.SYS file. Once you know what they are, it is unlikely you will
want to (unless you use international characters not normally used in the
USA).

John Baird, Naval Ocean Systems Center, San Diego, CA
-------
Definition of .CPI file:
     EXTENSION       WHAT IT (USUALLY) MEANS
	CPI		A file containing Code Page Information
--------
Code page definition:

A code page is a table used to translate a number in computer memory into a 
character (letter, number, or special symbol) displayed on the screen or 
printed on paper. Each key on the keyboard must also be translated into a 
number in computer memory so that it can later be displayed by using a code 
page. A default code page is "built in" to the computer and each peripheral. 
-------
.CPI related File Summary

FILE NAME:	  WHAT IT DOES:
  CONFIG.SYS	    configuration file
  DISPLAY.SYS 	    monitor configuration
  EGA.CPI 	    code page information
  LCD.CPI 	    code page information
  PRINTER.SYS 	    printer configuration
  dddd.CPI 	    code page information
--------
The DEVICE line goes in the CONFIG.SYS file:
    DEVICE=[d:][pathname]filename[.ext] [options . . .]

[d:][pathname]filename[.ext] is the device driver program. 

A device driver is a program used to control (drive) a peripheral device. 
DOS has a built-in set of drivers for the devices usually found on a computer. 
--------
Device drivers that can use .CPI files:

      WHAT IT IS	WHAT IT DOES
	DISPLAY.SYS*	support code page character display on enhanced 
			graphics adapters and some others. 
	PRINTER.SYS*	supports code page character printing on Proprinter-
			compatible printers.