Programmers Guide
TH320/420
34
GS L 150 1
Where 2 inches = 406/203, and 406 = (1 X 256) + 150, derived from decimal to hexadecimal
conversion:
406/256 = 1 (nH) with remainder 150 (nL)
To set the Slip left margin to one inch at the default horizontal motion unit of 1/140 inches, send the
four-byte string:
GS L 140 0
Or, to set the left margin to two inches at the default horizontal motion unit of 1/140 units per inch,
send the four-byte string:
GS L 24 1
Exceptions
The command is effective only at the beginning of a line.
Receipt Station
Printable Area 576 Dots
Slip Station
Printable Area 420 Dots
Set horizontal and vertical minimum motion units
ASCII
GS P x y
Sets the horizontal and vertical motion units to 1/x inch and 1/y inch
respectively.
Hexadecimal
1D 50 x y
When x or y is set to 0, the default setting for that motion unit is used.
Decimal
29 80 x y
Value of x:
Horizontal
Value of y:
Vertical
The command can be enabled or disabled for the slip.
Range of x:
0 – 255
Default is disabled for the slip on TH320, and enabled on TH320 MICR
France.
Range of y:
0 – 255
Default of x:
Receipt: 203 Slip: 140 This command is ignored if the line buffer is not empty.
Default of y:
Receipt: 203 Slip: 144
Printing Area
Width
Printing Area
Width
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 ...