Bar Codes; Page Mode; Macros - CognitiveTPG A798 Programming Manual

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

Advertisement

32
Chapter 4: Programming Commands

Bar codes

Code (hexadecimal)
Command
1D 28 6B 04 00
Select model for QR Code
00 31 41 n1 n2
1D 28 6B 03 00 31 43 n
Set size of module for QR Code
1D 28 6B 03 00 31 45 n
Select error correction level for QR Code
1D 28 6B qL qH
Store symbol data for QR Code
00 31 50 30 f1 ... fk
1D 28 6B 03 00 31 51 30
Print symbol data for QR Code
1D 48 n
Select printing position for HRI characters
1D 66 n
Select pitch for HRI characters
1D 68 n
Select bar code height
1D 6B m d1...dk 00
Print bar code
or
1D 6B m n d1...dn
1D 6B FF n
Print Multiple Barcodes
1D 6B n d1... 00
Print GS1 Databar (formerly RSS), null terminated
1D 6B m n L n H d1... dn
Print GS1 Databar (formerly RSS), data length specified
1D 70 a b c d e f
Select PDF 417 parameters
1D 71 a b c d e f L f H
Set GSI Databar (formerly RSS) parameters
1D 77 n
Select bar code width

Page mode

Code (hexadecimal)
Command
0C
Print and return to standard mode
18
Cancel print data in page mode
1B 0C
Print data in page mode
1B 4C
Select page mode
1B 53
Select standard mode
1B 54 n
Select print direction in page mode
1B 57 n1, n2...n8
Set print area in page mode
1D 24 nL nH
Set absolute vertical print position in page mode
1D 5C nL nH
Set relative vertical print position in page mode

Macros

Code (hexadecimal)
Command
1D 3A
Select or cancel macro definition
1D 5E r t m
Execute macro
A798-PG00001D
Revision D 10/13
Page
79
79
80
8 0
80
82
82
82
82
84
85
85
86
86
87
Page
88
88
88
89
89
90
91
92
92
Page
93
93

Advertisement

Table of Contents
loading

Table of Contents