Programmers Guide
TH320/420
30
Set column
ASCII
ESC DC4 n
Hexadecimal
1B 14 n
Decimal
27 20n
Value of n:
Receipt-
1 – 44= Standard pitch
1 – 56= Compressed pitch
Slip -
1 – 66= Standard pitch
1 – 80= Compressed pitch
Default of n:
1
Print the first character of the next print line in column n. It must be sent for each line not printed at
column one. The value of n is set to one after each line.
Exceptions
This command cannot be used with single- or double- density graphics.
Set absolute starting position
ASCII
ESC $ n1 n2
Hexadecimal
1B 24 n1 n2
Decimal
27 36 n1n2
Value of n:
n= Number of dots to be moved from the beginning of the line.
n1= Remainder after dividing n by 256. n2= Integer after dividing n by 256.
The values for n1 and n2 are two bytes in low byte, high byte word orientation.
Set the print starting position to the specified number of dots (up to the right margin) from the
beginning of the line. The print starting position is reset to the first column after each line.
Formulas
Determine the value of n by multiplying the column for the absolute starting position by 10 (slip, or
receipt standard pitch) or 8 (receipt compressed pitch). The example shows how to calculate column
29 (10 dots per column) as the absolute starting position.
28 x 10 =
280 dots (beginning of column 29)
280/256=
1, remainder of24
n1=24n2=
1
Related information
This command is also used in the graphics mode on the receipt. See graphic commands in this
chapter for more information.
If the set horizontal and vertical 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 command set horizontal and
vertical minimum motion units command (1D 50) in this document.
Set vertical line spacing to1/6 inch
ASCII
ESC 2
Hexadecimal
1B 32
Decimal
27 50
Default:
3.33 mm (0.13")
Line spacing is set for the station or stations selected by the command 1B 63 31 n.
Set the default line spacing to 4.25 mm (1/6 of an inch).
Summary of Contents for TH320
Page 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Page 75: ...TH320 TH420 Programmers Guide 67 ...
Page 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Page 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Page 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Page 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Page 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Page 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Page 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Page 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Page 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Page 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Page 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Page 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Page 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Page 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Page 156: ......
Page 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...