GS ^ n1 n2 n3
[Name] | Execute macro |
[Format] | < 1 D > H < 5 E > H < n 1 > < n 2 > < n 3 > |
[Range] | 0 ≤ n1 ≤ 255 |
| 0 ≤ n2 ≤ 255 |
| 0 ≤ n3 ≤ l |
[Description] | Executes a macro. |
| n1: Specifies the number of times to execute the macro. |
| n2: Specifies the waiting time for executing the macro. |
| n2 x 100 msec waiting time is required for one execution. |
| n3: Specifies the macro executing mode. |
| • n3 = 0 Continuous macro execution. |
| Executes n1 times continuously at the interval speci- |
| fied by n2. |
| • n3 = 1 Executes the macro with the paper feed switch. |
| After waiting the period specified by n2, the error LED |
| blinks and the printer waits for the paper feed switch to |
| be pressed. After the paper feed switch is pressed, |
| the printer executes the macro once. |
| The printer repeats this operation n1 times. |
[Notes] | • If this command is received while defining the macro, the macro |
| definition is aborted, and the definition is cleared. |
| • If the macro is not defined or if n1 is 0, nothing is executed. |
| • Paper cannot be fed with the paper feed switch while executing |
| the macro when n3 is 1. |
[Default] | Not defined. |
[Reference] | GS : |
5 3