TH210
Programmer’s Guide
36
Moves the print starting position the specified number of dots either right (up to the right margin)
or left (up to the left margin) of the current position. The print starting position is reset to the first
column after each line.
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 (standard) or 8 (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 (standard) or 8 (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 left 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. In page mode, upper left or lower right uses the horizontal
motion unit, and upper right or lower left uses the vertical motion unit.
For more information, see the description of the set horizontal and vertical minimum motion units
command (1D 50) in this document.
If underline is set, spaces skipped by this command are not underlined.
Compatibility information (TH210 receipt vs. A793 receipt)
There is a difference in the normal behavior of this command in A793 emulation mode as
compared to the original A793. The difference exists when the command is used to move to the
left. The A793 processes the whole print string prior to putting it in the buffer for the printhead.
This method of processing allows the A793 to back up in the print string and replaces 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 TH210 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.
This command also functions differently in the A793 emulation when used in graphics:
n x 2 = Number of dots to be moved from the beginning of the line when this command is followed
by a graphic command.
Содержание TH210
Страница 1: ...TH210 Thermal Printer Programmer s Guide December 2015 ...
Страница 123: ...TH210 Programmer s Guide 119 Character code table Page 1 PC850 Multilingual Latin I ...
Страница 124: ...TH210 Programmer s Guide 120 Character code table Page 2 PC852 Latin II ...
Страница 125: ...TH210 Programmer s Guide 121 Character code table Page 3 PC860 Portuguese ...
Страница 126: ...TH210 Programmer s Guide 122 Character code table Page 4 PC863 Canadian French ...
Страница 127: ...TH210 Programmer s Guide 123 Character code table Page 5 PC865 Nordic ...
Страница 128: ...TH210 Programmer s Guide 124 Character code table Page 6 PC858 Multilingual I Euro ...
Страница 129: ...TH210 Programmer s Guide 125 Character code table Page 7 PC866 Russian ...
Страница 130: ...TH210 Programmer s Guide 126 Character code table Page 8 WPC1252 Latin I ...
Страница 131: ...TH210 Programmer s Guide 127 Character code table Page 9 PC862 Hebrew ...
Страница 132: ...TH210 Programmer s Guide 128 Character code table Page 10 PC737 Greek ...
Страница 133: ...TH210 Programmer s Guide 129 Character code table Page 11 PC874 Thai ...
Страница 134: ...TH210 Programmer s Guide 130 Character code table Page 12 PC857 Turkish ...
Страница 135: ...TH210 Programmer s Guide 131 Character code table Page 13 WPC1251 Cyrillic ...
Страница 136: ...TH210 Programmer s Guide 132 Character code table Page 14 WPC1255 Hebrew ...
Страница 137: ...TH210 Programmer s Guide 133 Character code table Page 15 KZ_1048 Kazakh ...
Страница 138: ...TH210 Programmer s Guide 134 Character code table Page 16 WPC1254 Turkish ...
Страница 139: ...TH210 Programmer s Guide 135 Character code table Page 17 WPC1250 Central Europe ...
Страница 140: ...TH210 Programmer s Guide 136 Character code table Page 18 WPC28591 Latin 1 ...
Страница 141: ...TH210 Programmer s Guide 137 Character code table Page 19 WPC28592 Latin 2 ...
Страница 142: ...TH210 Programmer s Guide 138 Character code table Page 20 WPC28599 Turkish ...
Страница 143: ...TH210 Programmer s Guide 139 Character code table Page 21 WPC28605 Latin 9 ...
Страница 144: ...TH210 Programmer s Guide 140 Character code table Page 22 PC864 Arabic ...
Страница 145: ...TH210 Programmer s Guide 141 Character code table Page 23 PC720 Arabic ...
Страница 146: ...TH210 Programmer s Guide 142 Character code table Page 24 WPC1256 Arabic ...
Страница 147: ...TH210 Programmer s Guide 143 Character code table Page 25 WPC28596 Arabic ...
Страница 148: ...TH210 Programmer s Guide 144 Character code table Page 26 KATAKANA Asia ...
Страница 149: ...TH210 Programmer s Guide 145 Character code table Page 27 PC775 Baltic ...
Страница 150: ...TH210 Programmer s Guide 146 Character code table Page 28 WPC1257 Baltic ...
Страница 151: ...TH210 Programmer s Guide 147 Character code table Page 29 WP28594 Baltic ...