Select Active User-Defined Character Set; Download Font List; Configure Use Of Font Set; Configure Line Spacing - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

66
Chapter 4: Programming Commands

Select active user-defined character set

Selects user-defined character set number for download or printing. The default at power on is 0.
ASCII
US i n
Hexadecimal
1F 69 n
Decimal
31 105 n
n = 0 - 127
Set high order bit of n to configure user-defined character set number as the default. To configure the printer to print from
the user-defined character set at power, send 1F 03 0F 01 and reset the printer. Information will print on the first diagnostic
page.

Download font list

ASCII
GS 0xF0 0xC0
Hexadecimal
1D F0 C0
Decimal
29 240 192
Print downloaded font information.

Configure use of font set

ASCII
US ETX 0x45 FSID
Hexadecimal
1F 03 45 FSID
Decimal
31 03 69 FSID
Value of FSID:
font ID
00 = 24 high
01 = Tall font
02 = Color POS font
03 = paper-saving font (18 high)
04 - 0xFF = user configurable
This command configures a font set to be used all of the time (over power cycles).

Configure line spacing

ASCII
US ETX 0x46 n
Hexadecimal
1F 03 46 n
Decimal
31 03 70 n
Value of n:
1-byte #dot rows per print line
1 = 6 dpi
2 = 6.77 dpi
3 = 7.52 dpi
4 = 8.13 dpi
5 -FF = reserved
This command configures the line spacing for resident and downloaded font sets.
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents