Chapter 3: Programming The Printer; Overview Of Commands; Comparison To A793 - CognitiveTPG A799 Programming Manual

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

Revision D 12/09

Chapter 3: Programming the Printer

Overview of commands

Commands control all operations and functions of the printer. This includes selecting the size and placement of characters
and graphics on the receipt to feeding and cutting the paper. The programming commands have been organized, in order of
hexadecimal code within functional groups. For this reason, "related" commands may not be listed adjacent to one another.
The operation of various printers may be emulated by the commands, including the following:
• A793
• A794
• LEGACY
Any of the commands may be used in any combination to program a host computer to communicate with the printer
(unless otherwise noted).
Some commands listed and described here may not be implemented and are identified as "not implemented." If received,
they are ignored and not sent to the print buffer as data.
Any nonlegal commands have their parameter sent to the print buffer as data.

Comparison to A793

The following table details the list of commands whose behavior differs between the A793, A794, and A799 because of the
physical differences of a 6 dots/mm head (A793) versus an 8 dots/mm head (A794 and A799).
Command
Description
15 n
Feed n dot rows
16 n
Add n extra dot rows
1B 20 n
Set right-side character spacing
1B 24 n1 n2
Set absolute starting position
1B 26 s c1 c2 n1 d1...nn dn]
Define user-defined character set
1B 2A m n1 n2 d1...dn
Select bit image mode
1B 33 n
Set line spacing
Chapter 3: Programming the Printer
Difference between previous product
and new product emulation mode.
This command will move the paper on the receipt in
n/203 inch steps instead of n/152 inch steps.
The dot rows will be measured in n/203 inches versus
n/152 inches.
This command sets the right side spacing to "n" horizontal
motion units. By default, these units are in terms of 1/203
inches versus 1/152 inches.
For graphics commands, the position is scaled to best
match A793. In text mode, the equivalent character
position is calculated.
Since the dots on the A799 printhead are smaller, user
defined characters that were used on the previous printers
will appear smaller on the A799 printer.
In A793 emulation mode, graphics are scaled to best
match the size of the graphic in the A793 printer.
This command uses n in terms of n/360 inches. Since the
A793 had a fundamental step of 1/152 inch and the A799
has a fundamental step of 1/203 inch, the actual line
spacing will not exactly match the requested spacing.
A799-PG00001D
23
Continued...

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents