Lexmark 249X Example of IBM Emulation Mode Printer Command, Select Code Page name of command

Models: 249X 248X

1 227
Download 227 pages 723 b
Page 30
Image 30

Example of IBM Emulation Mode Printer Command

Select Code Page (name of command)

(A short description of the command follows)

This command placed before the first character changes the active code page.

(The printer command format follows with the decimal and hexadecimal values).

Format

ESC

[

T

4

0

0

0

Hc

Lc

Decimal

27

91

84

4

0

0

0

Hc

Lc

Hex

1B

5B

54

04

00

00

00

Hc

Lc

Usage Notes

The digits 4 0 0 0 (decimal), 04 00 00 00 (hexadecimal) are constants.

To calculate Hc Lc for a code page that is not shown:

Divide the code page number, such as 437, by 256.

The whole number result is the Hc value.

The remainder is the Lc value.

If your code page has an alphabetic character, such as 437G, add 10,000 to the code page number, then divide by 256.

Code page information begins on page 188.

Related commands list other commands that can or should be used with the printer command being described.

Usage Notes give additional information for that command, such as:

how the command reacts with other commands

any other command that is required, or that supplements the command

how the datastream is affected by the command

Pay attention to the uppercase (capital letter) and the lowercase letters. If the format shows an uppercase letter, enter the command with an uppercase letter. If the letter in the command format is lowercase, enter it as lowercase. The printer looks at the uppercase and lowercase letters as separate command instructions.

The uppercase letter O is different from the numeral 0 (zero). Notice that the uppercase O is wider and rounder than the zero. To help you with this distinc- tion, the text that describes the command shows the numeral 0 and also spells out zero.

30

Section 3: IBM Emulation Mode Printer Commands

Page 30
Image 30
Lexmark 249X, 248X manual Example of IBM Emulation Mode Printer Command, Select Code Page name of command