CognitiveTPG A799 User Manual

Page 4

Advertising
background image

A799 Programming Guide
Contents

4

Revision D 12/09

A799-PG00001D

Chapter 4: Programming Commands ................................................29

Commands listed by function ..........................................................29
Printer actions ...................................................................................29
Print and paper feed ........................................................................29
Vertical and horizontal positioning ................................................30
Text characteristics ...........................................................................30
Graphics ............................................................................................31
Status .................................................................................................32

Batch mode ......................................................................................................... 32
Real time ............................................................................................................... 32
Unsolicited status mode ................................................................................. 32

Bar codes ............................................................................................32
Page mode ........................................................................................33
Macros ................................................................................................33
User data storage ..............................................................................33
Flash download .................................................................................34
Ethernet setup commands ...............................................................34
Command conventions .....................................................................35
Command descriptions .....................................................................35
Printer actions ...................................................................................35

Clear printer ......................................................................................................... 35
Perform full knife cut ........................................................................................ 36
Perform partial knife cut ................................................................................. 36
Generate tone ..................................................................................................... 36
Select peripheral device (for multi-drop) ................................................. 36
Initialize printer .................................................................................................. 37
Select paper sensors to output paper-end signals ............................... 37
Select sensors to stop printing ..................................................................... 38
Enable or disable panel button .................................................................... 38
Generate pulse to open cash drawer ......................................................... 38
Set current color ................................................................................................ 39
Select cut mode and cut paper .................................................................... 39
Set paper type (ColorPOS

®

) ............................................................................ 40

Set interpretation of “Set current color” command ............................. 41
Print test form ..................................................................................................... 41

Print and paper feed .........................................................................42

Print and feed paper one line ....................................................................... 42
Print and carriage return ................................................................................. 42
Feed n print lines ............................................................................................... 42
Feed n dot rows.................................................................................................. 42
Add n extra dot rows ........................................................................................ 43
Print ........................................................................................................................ 43
Print and feed paper ......................................................................................... 44
Print and feed n lines ....................................................................................... 44

Advertising