CognitiveTPG A798 User Manual

Page 4

Advertising
background image

A798 Programming Guide
Contents

4

Revision C 12/09

A798-PG00001C

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 .................................................................................................31

Batch mode ......................................................................................................... 31
Real time ............................................................................................................... 31
Unsolicited status mode ................................................................................. 31

Bar codes ............................................................................................32
Page mode ........................................................................................32
Macros ................................................................................................32
User data storage ..............................................................................32

Flash download .................................................................................................. 33

Command conventions .....................................................................33
Command descriptions .....................................................................34
Printer actions ...................................................................................34

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

Print and paper feed .........................................................................39

Print and feed paper one line ....................................................................... 39
Print and carriage return ................................................................................. 39
Feed n print lines ............................................................................................... 39
Feed n dot rows.................................................................................................. 39
Add n extra dot rows ........................................................................................ 40
Print ........................................................................................................................ 40
Print and feed paper ......................................................................................... 41
Print and feed n lines ....................................................................................... 41

Vertical and horizontal positioning .................................................42

Horizontal tab ..................................................................................................... 42
Set horizontal and vertical minimum motion units .............................. 42
Set column ........................................................................................................... 42
Set absolute starting position ....................................................................... 43
Set vertical line spacing to 1/6 inch ............................................................ 43
Set vertical line spacing .................................................................................. 44
Set horizontal tab positions ........................................................................... 44

Advertising