Chapter 5: Programming commands
57
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Erase user flash sector for permanent fonts
ASCII
GS @
n
Hexadecimal
1D 40
n
Decimal
29 64
n
Value of
n
:
51
n
= 51 (ASCII
n
= 3) HEX 33
This command erases all sectors available for permanent fonts.
Erases a page of flash memory and sends a carriage return when the operation is complete.
Related information
See command “Flash memory user sectors allocation” (1D 22 55 n1 n2).
See also command “Expanded flash memory allocation” (1D 22 80...) and “Select flash area” (1D 22 81 n).
Important:
While erasing flash memory, the printer disables all interrupts, including communications. To provide feedback
to the application, the printer responds to the application when the erase is complete with a 0D (Hex).
After sending the
erase user flash sector (1D 40 n) command, an application should wait for the response from the printer before sending
data. Otherwise, data will be lost. If an application is unable to receive data, it should wait a minimum of ten seconds after
sending the erase user flash sector (1D 40 n) command before sending data.
Select font style number
ASCII
GS 0xF0 0x02 n
Hexadecimal
1D F0 02 n
Decimal
29 240 2 n
Value of n:
0 - 255
Select font style number for downloaded font. After selecting font style number, set the horizontal and vertical character
spacing for the characters.
This command is sent before downloading the map file for a specific font. Each font ID can have multiple styles. For
example, two different styles could be 16 x 16 Gothic and 24 x 24 Gothic, or three different styles could be 16 x 16
Gothic, 16 x 16 Ariel, and 16 x 16 Courier. Each style number within a font has one character definition file.
This command is also sent to select a downloaded font style at run time.
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.
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...