Download Font; Download Font List; Dynamically Select The Font Set - CognitiveTPG A776 ColorPOS Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

54
Chapter 5: Programming commands

Download font

ASCII
GS 0xF0 0x80 followed by file
Hexadecimal
1D F0 80
Decimal
29 240 128
This command is the sequence introducer for downloading existing files.
The downloaded font is always stored in the permanent font area of flash. If there is not enough memory in the
permanent font area to store the file the printer returns NACK.
When the file is downloaded the printer returns ACK.
If the file contents are incorrect the printer returns NACK. File format to be described in appendix.
So the full sequence for downloading files as font ID 90 would be:
1D F0 01 CB
1D F0 80 followed by map file shftjis.chr
1D F0 02 01
1B 20 n for horizontal character spacing
1B 33 n for vertical character spacing
1D F0 80 followed by character definition file shftj16.chr
1D F0 02 02
1B 20 n for horizontal character spacing
1B 33 n for vertical character spacing
1D F0 80 followed by character definition file shftj24.chr

Download font list

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

Dynamically select the font set

ASCII
GS 0xF1 SOH FSID
Hexadecimal
1D F1 01 FSID
Decimal
29 241 1 FSID
Value of FSID:
font ID
00 = 24 high
01 = Tall font
02 = Color POS font
03 - 0xFF (user configurable) = paper-saving font (18 high)
This command dynamically selects the font set.
Note: Sending the 1D F1 01 FSID command cancels both compressed and user defined character selections. 1D F1 01
FSID does not store the font selection over power cycles
Related information
To configure a font set to be used over power cycles, see "Configure use of font set" (1F 03 45 FSID)..
A776 (B780) Programming Guide
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents