M-S Cash Drawer A794 User Manual

Page 88

Advertising
background image

A794 Owner’s Guide

Chapter 6: Programming Information

December 1999

83

Select or Cancel User-Defined Character Set

ASCII

ESC % n

Hexadecimal

1B 25 n

Decimal

27 37 n

Value of n:

0 = Code Page 437
1 = User Defined (RAM)
2 = Code Page 850

Range of n:

0-2

Default:

0 (Code Page 437)

Selects the character set. When an undefined RAM character is selected, the current
active ROM Code Page character is used. See the Printing Specification Guide for the
character sets.

Exception:

The character sets cannot be used together on the same line.

Related Information

In TM-T88 Emulation, the low order bit of n is used to select the User-Defined Character
Set and the current active ROM Code Page is not affected.

Define User-Defined Character Set

ASCII

ESC & s c1 c2 n1 d1 ... nn dn]

Hexadecimal

1B 26 s c1 c2 n1 d1 ... nn dn]

Decimal

27 38 s c1 c2 n1 d1 ... nn dn]

Values and Ranges:

s = 3, the number of bytes (vertically) in the character cell

c = the ASCII codes of the first (c1) and last (c2) characters respectively

c1 = Hex 20-FF (20 is always printed as a space)
c2 = Hex 20-FF (20 is always printed as a space)

To define only one character, use the same code for both c1 and c2

n = the number of dot columns for the nth character as specified by n1 ... nn

n = 1-16

d = the column data for the nth character as specified by d1 ... dn

The number of bytes for a character cell is s x n1

The bytes are printed down and across each cell

See the illustration on next page.

Advertising