Executing The Macro - Citizen Model CMP-10 Command Reference Manual

Citizen systems mobile line thermal printer user manual
Hide thumbs Also See for Model CMP-10:
Table of Contents

Advertisement

GS ^ n1 n2 n3
[Function]

Executing the Macro

[Code]
<1D>H<5E>H<n1><n2><n3>
[Range]
{0 =< n1 =< FF(Hex)}
{0 =< n2 =< FF(Hex)}
{0 =< n3 =< 1(Hex)}
[Outline]
Executing contents defined in macro.
The following items are set for parameters n1 to n3.
n1: The number of times of macro execution
n2: Waiting time on macro execution. Waiting time of n2 × 100 msec is given for
n3: Macro execution mode
Continuous execution: The Macro is executed n1 times continuously at the time
intervals specified by n2.
Execution by LF switch: After waiting for lapse of time specified by n2, the LF switch
is waited to be pressed. When it is pressed, the macro is executed once.
This action is repeated n1 times.
[Caution]
• When this command is received while in macro definition, suspension of macro
• No execution takes place when macro is held undefined or n1=0.
• While in macro execution with n3=1, paper feed with the LF switch is not available.
• During execution of a macro, the power cannot be turned off.
[See Also]
GS :
[Sample Program]
See Sample Program and Print Results for GS :.
every execution.
n (Hex)
0
Continuous execution
1
Execution by LF switch
definition is indicated. At this time, the defined content is cleared.
Mode
— 50 —

Advertisement

Table of Contents
loading

Table of Contents