TH320/TH420
Programmers Guide
33
Select justification
ASCII
ESC a n
Hexadecimal
1B 61 n
Decimal
27 97n
Value of n:
0, 48= Left aligned
1, 49= Center aligned
2, 50= Right aligned
Range of n:
0–2, 48–50
Default:
0 (Left aligned)
Specifies the alignment of characters, graphics, logos, and bar codes. The command can be enabled
or disabled for the slip. Default is disabled for the slip on TH320, and enabled on TH320 MICR France.
Exception
This command is valid only when input at the beginning of a line.
Set left margin
ASCII
GS L nL nH
Hexadecimal
1D 4C nL nH
Decimal
29 76 nL nH
Range of n L: 0- 255
Range of n H: 0- 255
Default:
576 dots (the maximum printable area)
Values of n:
nL= low byte= Remainder after dividing n by 256
nH= high byte= Integer after dividing n by 256
The command can be enabled or disabled for the slip. Default is disabled for the slip on TH320, and
enabled on TH320 MICR France.
Formulas
Sets the left margin of the printing area. The left margin is set to ((nH X 256) + nL) times horizontal motion
unit) inches. The horizontal motion units are set by the set horizontal and vertical minimum motion units
command (1D 50), described in this manual.
The width of the printing area is set by the set printing area width command (1D 57), which follows this
command.
If the setting exceeds the printable area, the maximum value of the printable area is used. The maximum
printable receipt area is 576 dots on the receipt and 420 addressable dots on the slip. See the illustration.
To set the Receipt left margin to one inch at the default horizontal motion unit of 1/203 inches, send
the four-byte string:
GS L 203 0
or, to set the left margin to two inches at the default horizontal motion unit of 1/203 units per inch, send
the four-byte string:
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 ...