the code page number, then divide by 256.

Code page information begins on page 188.

Print From Code Page

Continuously Print Characters from a Code Page

Use this command to print characters from the all Characters Chart of a Code Page (see “Printing a Code Page” on page 204).

Format

ESC

\

Ln

Hn

n1

nn

Decimal

27

92

Ln

Hn

n1

nn

Hex

1B

5C

Ln

Hn

n1

nn

Ln Hn

Ln (low number) and Hn (high number) identify the number of characters that you want to print.

See below for ways to calculate this variable.

n1 n2 n3......nn

The variables, n1 n2 n3 and so on, are the number of characters that you want to print. For example, for each character, n1 n2 n3...., that you want to print, you

substitute the decimal or hexadecimal digit for that character.

Use the code page tables for the decimal or the hexadecimal digit (see “Code Pages” on page 187).

Locate the character on the code page table.

Use the decimal or hexadecimal digit for that character in the printer com- mand format.

Usage Notes

To print less than 256 characters:

Hn is 0.

Ln is the number of characters you want to print.

To print more than 256 characters:

Divide the number of characters you want to print by 256.

The result is Hn.

The remainder is Ln.

You must input a decimal or hexadecimal digit for each character

(n1.....nn) you want to print. The decimal and hexadecimal digits are

34

Section 3: IBM Emulation Mode Printer Commands

Page 34
Image 34
Lexmark 249X, 248X manual Print From Code, Continuously Print Characters from a Code