CognitiveTPG A798 User Manual
Page 106

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