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

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

30

Chapter 4: Programming Commands

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 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
1B 72 m
Set current color
1F 03 3C ll hh
Set timeout value for low-power idle state
1F 70
Set printer into low-power idle state
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 81 m n
Set paper type (for two-color printing)
1F 03 16 05 n
Set interpretation of "Set current color" command
1F 03 4E n1 n2
Port Idle Timeout
1F 74
Print test form

Print and paper feed

Code (hexadecimal)
Command
0A
Print and feed paper one line
0D
Print and carriage return
14n
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
A799-2PG0001B 4/2016
Page
37
37
38
38
38
39
39
39
37
38
40
40
43
43
41
41
41
42
43
43
Page
44
44
44
45
45
46
46
46

Advertisement

Table of Contents
loading

Table of Contents