CognitiveTPG B780 User Manual

Page 72

Advertising
background image

Chapter 5: Programming commands

60

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Default:

0 (Code Page 437)

Selects the character set to be used. Look in “Appendix B: Resident Character Sets” for the character sets.

There are two codes for this command (see select international character set, 1B 74 n). Both codes
perform the same function.

Exception

The character sets cannot be mixed on the same line.

Related information

This command may also be known as select character code table.

Select character code table

See the previous command, select international character set, 1B 52 n .

Select or cancel 90 degree clockwise rotated print

ASCII

ESC V n

Hexadecimal 1B 56 n

Decimal

27 86 n

Value of n:

0 = Cancel

1 = Set

Default:

0 (Cancel)

Rotates characters 90 degrees clockwise. The command remains in effect until the printer is reset or until a clear printer
(0x10) or rotated print (1B 12) command is received. See summary of rotated printing in this document.

Select or cancel upside-down print mode

ASCII

ESC { n

Hexadecimal 1B 7B n

Decimal

27 123 n

Value of n:

0 = Cancel

1 = Set

Default:

0 (Cancel)

Prints upside-down characters. The character order is inverted in the buffer so text is readable. The command remains
in effect until the rotated print (1B 12) command is received. Only bit 0 is used. Bits 1–7 are not used. See summary of
rotated printing in this document for more information.

Exceptions

The command is valid only at the beginning of a line.

The rotated print command (1B 12) cancels this command.

Select character size

ASCII

GS ! n

Hexadecimal 1D 21 n

Decimal

29 33 n

Value of n:

1–8 = vertical number of times normal font

1–8 = horizontal number of times normal font

Range of n:

00–07, 10–17, ...70–77

Default of n:

0

Selects the character height for receipt printing using bits 0 to 2 and selects the character width using bits 4 to 7, as
follows:

Continued . . .

Advertising
This manual is related to the following products: