Pr
ogrammers Guide TH320/420
4
Moving from the A756 to the TH320
The following table details the list of commands whose behavior differs between the A756 printer and
the A758, TH420, and TH320 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, TH420 and TH320.
Command Description Difference between theA756 and the TH320.
15 n Fe
ed 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 Ad
d n extra dot rows The dot rows will be measured in n/203 inches versus
n/152 inches.
1B 2
0 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 2
4 n 1n2 Set absolute starting
position
For graphics commands, the position is scaled to best
ma
tch A756. In text mode, the equivalent character position
is
calculated.
1B 2
6 s c1 c2 n1 d1...nn dn] Define user-defined
character set
Since the dots on the TH320 print head are smaller, user
defined characters that were used on the A756 printers will
appear smaller on the TH320 printer.
1B 2
A mn 1n2d 1...dn Select bit image mode
In
A756 emulation mode, graphics are scaled to best match
th
e size of the graphic in the A756 printer.
1B 3
3 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 TH320
has
a fundamental step of 1/203 inch, the actual line
spacing will not exactly match there quested spacing.
1B 4
An 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 TH320
has
a fundamental step of 1/203 inch, the actual line
spacing will not exactly match there quested spacing.
1B 5
9 n1 n2 d1...dn Select double-density
graphics
In A756 emulation mode, the printer scales the graphics to
provide the best match.
1B 5
C n 1 n2 Set relative print position The parameter to this command is in units of dots. How
ever, the command moves and aligns to character
positions. In A756 emulation mode, this command
shows many character positions to move based on the
A756 character width in dots (10) versus the TH320 (13).
1B 6
1 n Select justification This command does true dot resolution alignment for
centering versus character- aligned centering.
1D 2
An 1n2d 1...dn] Define down loaded 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.
1D2
Fm Print down loaded 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.