Programmers Guide
TH320/420
92
Formulas
The contents of the macro can be defined up to 2048 bytes.
Exceptions
If the macro definition exceeds 2048 bytes, excess data is not stored.
Execute macro
ASCII
GS ^ r t m
Hexadecimal 1D 5E r t m
Decimal
29 94 r t m
Value of r
The number of times to execute the macro.
Value of t
The waiting time for executing the macro.
Execute a macro. After waiting for a specified period the printer waits for the paper feed button to be
pressed. After the button is pressed, the printer executes the macro once. The printer repeats this
operation the number of specified times.
When the macro is executed by pressing the paper feed button (m = 1), paper cannot be fed by using
the paper feed button.
Formulas
The waiting time is t
×
100 ms for every macro execution.
m specifies macro executing mode when the LSB (least significant bit) m = 0
The macro executes r times continuously at the interval specified by t when the LSB (least significant
bit) of m = 1.
Exceptions
If this command is received while a macro is being defined, the macro definition is aborted and the
definition is cleared.
If the macro is not defined or if r is 0, nothing is executed.
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 ...