Save Font Id Number As Default Font At Power Up; Download Font; Download Font List; Select Superscript Or Subscript Modes - CognitiveTPG A799 Programming Manual

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

Revision D 12/09

Save font ID number as default font at power up

ASCII
GS 0xF0 0x03
Hexadecimal
1D F0 03
Decimal
29 240 3
Save current font ID number as default font at power up. All characters will be printed from the downloaded font.

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.

Select superscript or subscript modes

ASCII
US ENQ n
Hexadecimal
1F 05 n
Decimal
31 05 n
Value of n:
0 = Normal character size
1 = Select subscript size
2 = Select superscript size
Default:
0 (normal size)
Turns superscript or subscript modes on or off. This attribute may be combined with other characters size settings
commands (12, 13, 1B 21 n, 1D 21 n,...)
Exceptions
This command is ignored if n is out of the specified range.
Related information
In A793 emulation, this command is unrecognized and the parameter byte is put into the print buffer.
Chapter 4: Programming Commands
A799-PG00001D
63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents