Citizen Line Thermal Printer, iDP-3210 user manual 61/67 Citizen

Models: Line Thermal Printer iDP-3210

1 67
Download 67 pages 54.45 Kb
Page 61
Image 61

iDP-3210 User’s Manual idp-3210 User's Manual

(36) Starting / Ending Macro Definition (GS :)

Code : [1D]h + [3A]h

Specifying starting / ending macro definition. Maximum content available for macro definition is 2048 bytes. A portion exceeding 2048 bytes is not defined.

Even with ESC @ (initialization of the printer) having been executed, defined content is not cleared. Therefore, it is possible to include ESC @ into the content of macro definition.

Normal printing operation is carried out even while in macro definition

(37)Macro Execution (GS^ n1 n2 n3)

Code : [1D]h + [5E]h + n1 + n2 + n3

*{0 is less than or equal to n1 is less than or equal to FF} {0 is less than or equal to n2 is less than or equal to FF}

{0 is less than or equal to 3 is less than or equal to 1} Data is described in Hex code.

Executing contents defined in macro.

"n1~n3" indicate as follows:

n1 : The number of times of macro execution

n2 : Waiting time on macro execution

Waiting time of n2 x 100 msec is given for every execution. n3 : Macro execution mode

n3

Mode

0Continuous execution

1Execution by the paper feed SW

Continuous execution

: The Macro is executed n1 times continuously at the time

 

intervals specified by n2.

Execution by FEED SW

: After waiting for lapse of time specified by n2,

the ERROR LED flickers and the paper feed switch is waited to be pressed. When it is pressed, the macro is executed once. This action is repeated n1 times.

When this command is received while in macro definition, suspension of macro definition is indicated. At this time, the defined content is cleared.

No execution takes place when macro is held undefined or n1=0.

While in macro execution with n3=1, paper feed with the FEED SW is not available.

61/67 CITIZEN

Page 61
Image 61
Citizen Line Thermal Printer, iDP-3210 user manual 61/67 Citizen