Instruction manual

A758 Owner’s Guide Chapter 7: Programming Guide
September 1999 130
Formulas:
To move to the left:
Determine the value of
n
by multiplying the number of columns to move left of
the current position by 10 (slip or receipt standard pitch) or 8 (receipt
compressed pitch). The example shows how to set the relative position two
columns in standard pitch (10 dots per column) to the left of the current position.
2 x 10 = 20 dots (two columns to be moved left of the current position)
65,536-20 = 65516
65,516/256 = 255, remainder of 236
n1
= 236
n2
= 255
To move to the right:
Determine the value of
n
by multiplying the number of columns to move right of
the current position by 10 (slip or receipt standard pitch) or 8 (receipt
compressed pitch). The example shows how to set the relative position two
columns in standard pitch (10 dots per column) to the right of the current
position.
2 x 10 = 20 dots (two columns to be moved right of the current position)
20/256 = 0, remainder of 20
n1
= 20
n
2 = 0
Related Information:
If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is
used to change the horizontal and vertical minimum motion unit, the parameters
of this command (Set Relative Print Position) will be interpreted accordingly. For
more information, see the description of the Set Horizontal and Vertical
Minimum Motion Units command (1D 50) in this document.
Compatibility Information (A758 receipt vs. A756 receipt)
There is a difference in the normal behavior of this command in A758 Native
Mode as compared to the original A756. The difference exists when the
command is used to move to the left. The A756 processes the whole print string
prior to putting it in the buffer for the print head. This method of processing
allows the A756 to backup in the print string and replace characters and their
associated attributes when a “Set Relative Print Position” command instructs the
printer to move the print position to the left.
In order to improve the speed of printing, the A758 moves the data into a buffer
for the printhead when it receives it. When the “Set Relative Print Position”
command contains a move to the left, this causes the new data to overstrike the
previous data. This behavior can be used to an application’s advantage to
provide the ability to create compound characters on the receipt station.