Stand-alone code pages
Code pages supply consistent or similar characters across systems. For example, a document created at one location using a specific code page could be sent to a different location, printed on a different model printer, and still look the same.
Code pages must be downloaded to the printer for use.
The following printers accept downloaded code pages:
- 3112 (has resident fonts also)
- 3116 (has resident fonts also)
- 3130 (has resident fonts also)
- 3160 (has resident fonts also)
- 3812 (has resident fonts also)
- 3816 (has resident fonts also)
- 3820
- 3825
- 3827
- 3828 (MICR printer)
- 3829
- 3831
- 3835
- 3900–001
- 3900–AFCCU (has resident fonts also)
- 3900
- 3912 (has resident fonts also)
- 3916 (has resident fonts also)
- 3930 (has resident fonts also)
- 3935 (has resident fonts also)
- 4028 (has resident fonts also)
- 4312 (has resident fonts also)
- 4317 (has resident fonts also)
- 4324 (has resident fonts also)
- Infoprint 20 (has resident fonts also)
- Infoprint 32 (has resident fonts also)
- Infoprint 3000 (has resident fonts also)
- Infoprint 4000 (has resident fonts also)
Naming convention for code pages
Like character sets, code pages are named in a number of ways. One way is with a code page name. These code pages are downloaded to the printer. The code page name can be up to 8 characters long. Code page names are used with character set names for printing on printers such as the 3820, 3825, 3827, or 3835.
Another way is with a code page global identifier (CPGID). CPGIDs are printer-resident code pages and have numbers for names (for example, 259 or 500). Generally, printers with resident fonts use CPGIDs to name the printer-resident code pages. CPGIDs are also used within CHRIDs.
For example, in the code page name T1V10500:
- T
- The T means that this object is a code page.
- 1
- This is always a 1.
- V1
- The V1 means that this is version 1 of this code page.
- 0500
- The 0500 is the code page name, number, or category. In this example 500 is the code page name.
Selecting code pages
Code pages are selected by specifying a certain value for the code page (CDEPAG) parameter of the printer file.
If you choose to use code pages with your applications, you must also specify a font character set (by providing a value for the FNTCHRSET parameter of the printer file being used).
Substituting code pages
Substitution of code pages occurs for the following reasons:
- The application specifies a code page that is resident on a printer and the printer being used does not have resident code pages.
- The application specifies a code page that is resident on the host system (IBM® i platform) and the printer being used has resident code pages (not capable of accepting downloaded code pages).
- The job requesting the code page is not authorized to it.
- The code page cannot be found.
- The job is not authorized to the library where the code page is stored.