CognitiveTPG B780 User Manual
Page 20

Chapter 3: Migrating to a new printer
8
A776 (B780) Programming Guide
A776-PG00001 C 12/09
Moving from the A756 to the A776 (Thermal printhead differences)
The following table details the list of commands whose behavior differs between the A756 printer and the A758, A760,
and A776 printers. This is due to the physical differences of the 6 dots/mm head in the A756 and the 8 dots/mm head
in the A758, A760 and A776.
Command
Description
Difference between the A756
and the A776.
15 n
Feed n dot rows
This command will move the paper on the receipt in
n/203 inch steps instead of n/152 inch steps.
16 n
Add n extra dot rows
The dot rows will be measured in n/203 inches versus
n/152 inches.
1B 20 n
Set right-side character spacing
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.
1B 24 n1 n2
Set absolute starting position
For graphics commands, the position is scaled to best
match A756. In text mode, the equivalent character
position is calculated.
1B 26 s c1 c2 n1 d1...nn dn
Define user-defined character set Since the dots on the A776 printhead are smaller, user
defined characters that were used on the A756 printers
will appear smaller on the A776 printer.
1B 2A m n1 n2 d1...dn
Select bit image mode
In A756 emulation mode, graphics are scaled to best
match the size of the graphic in the A756 printer.
1B 33 n
Set line spacing
This command uses n in terms of n/360 inches. Since the
A756 had a fundamental step of 1/152 inch and the A776
has a fundamental step of 1/203 inch, the actual line
spacing will not exactly match the requested spacing.
1B 4A n
Print and feed paper
This command uses n in terms of n/360 inches. Since the
A756 had a fundamental step of 1/152 inch and the A776
has a fundamental step of 1/203 inch, the actual line
spacing will not exactly match the requested spacing.
1B 59 n1 n2 d1...dn
Select double-density graphics
In A756 emulation mode, the printer scales the graphics
to provide the best match.
1B 5C n1 n2
Set relative print position
The parameter to this command is in units of dots.
However, the command moves and aligns to character
positions. In A756 emulation mode, this command
calculates how many character positions to move
based on the A756 character width in dots (10)
versus the A776 (13).
1B 61 n
Select justification
This command does true dot resolution alignment for
centering versus character-aligned centering.
1D 2A n1 n2 d1...dn
Define downloaded bit image
In A756 emulation mode, this command scales the
incoming data to provide a best match to the size of
the image as it printed on A756.
1D 2F m
Print downloaded bit image
In A756 emulation mode, this command scales the
incoming data to provide a best match to the size of
the image as it printed on A756.