Chapter 4: Programming Commands; Commands Listed By Function; Printer Actions; Print And Paper Feed - CognitiveTPG A798 Programming Manual

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

Advertisement

Revision D 10/13

Chapter 4: Programming Commands

Commands listed by function

Printer actions

Code (hexadecimal)
Command
10
Clear printer
19
Perform full knife cut (or code 1B 69)
1A
Perform partial knife cut (or code 1B 6D)
1B 07
Generate tone
1B 3D n
Select peripheral device (for multi-drop)
1B 40
Initialize printer
1B 63 33 n
Select paper sensors to output paper end signals (parallel only)
1B 63 34 n
Select sensors to stop printing
1B 63 35 n
Enable or disable panel button
1B 69
Perform full knife cut (or code 19)
1B 6D
Perform partial knife cut (or code 1A)
1B 70 n p1 p2
Generate pulse to open cash drawer
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)
1F 74
Print test form

Print and paper feed

Code (hexadecimal)
Command
0A
Print and feed paper one line
0D
Print and carriage return
14 n
Feed n print lines
15 n
Feed n dot rows
16 n
Add n extra dot rows
17
Print
1B 4A n
Print and feed paper
1B 64 n
Print and feed n lines
Chapter 4: Programming Commands
A798-PG00001D
29
Page
34
35
35
35
35
36
36
37
37
35
35
37
38
38
38
Page
38
39
39
39
40
41
41
41

Advertisement

Table of Contents
loading

Table of Contents