CognitiveTPG A798 Programming Manual page 106

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

106
Appendix A: Commands by Hexadecimal Code
Code (hexadecimal)
Command
1D 00
Return boot sector firmware part number
1D 01
Return segment number status of flash memory
1D 02 nn
Select flash memory sector to download
1D 03 n
Real time request to printer (GS sequence)
1D 04 n
Real time status transmission (GS sequence)
1D 05
Real time printer status transmission
1D 06
Get firmware CRC
1D 07
Return microprocessor CRC
1D 0E
Erase all flash contents except boot sector
1D 0F
Return main program flash CRC
1D 10 n
Erase selected flash sector
1D 11 aL aH cL cH d1...dn
Download to active flash sector
1D 21 n
Select character size
1D 22 n
Select memory type (SRAM/Flash) where to save logos or user-defined fonts
1D 22 55 n1 n2
Flash memory user sectors allocation
1D 22 80
Expanded flash memory allocation
1D 22 81 n
Select flash area for storing logos and fonts
1D 23 n
Select the current logo (downloaded bit image)
1D 24 nL nH
Set absolute vertical print position in page mode
1D 2A n1 n2 d1...dn
Define downloaded bit image
1D 2F m
Print downloaded bit image
1D 3A
Select or cancel macro definition
1D 40 n
Erase user flash sector
1D 42 n
Select or cancel white/black reverse print mode
1D 48 n
Select printing position of HRI characters
1D 49 n
Transmit printer ID
1D 49 40 n
Transmit printer ID, remote diagnostics extension
1D 4C nL nH
Set left margin
1D 50 x y
Set horizontal and vertical minimum motion units
1D 56 m
Select cut mode and cut paper (or code 1D 56 m n)
1D 56 m n
Select cut mode and cut paper (or code 1D 56 m)
1D 57 nL nH
Set printing area width
1D 5C nL nH
Set relative vertical print position in page mode
1D 5E r t m
Execute macro
1D 61 n
Select or cancel unsolicited status mode
1D 66 n
Select pitch of HRI characters
1D 68 n
Select bar code height
A798-PG00001C
Revision C 12/09
Page
100
101
101
77
74
78
101
101
101
102
102
102
57
97
97
98
98
62
94
63
64
95
99
58
83
68
69
46
42
38
38
47
94
95
79
83
83

Advertisement

Table of Contents
loading

Table of Contents