Programming Codes
iTherm
®
280
Programmer’s Guide
28-04430
Rev K
Page 229
Macro Function Commands
Function
Start/End Macro Definition
ASCII
[GS] :
Hexadecimal
1DH 3AH
Decimal
<29> <58>
Description
The [GS] : command starts or ends macro definition. Macro definition starts
when the command is received during normal operation and ends when it is
received during the macro definition. The macro definition can contain up to
2048 bytes. If the definition exceeds 2048 bytes, the excess data will not be
stored.
Function
Execute Macro
ASCII
GS ^ r t m
Hexadecimal
1DH 5EH r t m
Decimal
<
29> <94> r t m
Range
0
r
255
0
t
255
m = See below
Description
The GS ^ r t m command executes a macro definition. The r specifies the
number of times to execute the macro. When Bit 1 of m is set, r is ignored, and
the macro is executed infinitely. t specifies the waiting time for executing the
macro; it is t
100 msec for every macro execution. m specifies macro
executing mode. When the LSB of m = 0, the macro executes r times
continuously with the interval specified by t. When the LSB of m = 1, the printer
remains idle and waits for the FEED Button to be pressed (after waiting for the
period specified by t). After the button is pressed, the printer executes the macro
once. The printer repeats the operation r times. When Bit 5 of m is set, the
current macro definition is saved into the printer‘s nonvolatile flash memory as a
start-up macro without executing it. The macro definition is executed upon
power-up using the parameters specified by the GS ^ r t m command. If the
printer is powered-up into self-test mode, the macro definition will not be
executed. A saved macro definition can be deleted with the GS _ command.
Bit
Off/On
Hexl
Decimal
Function
0
Off
00
0
Macro executes r times continuously with
the interval specified by t
On
01
1
FEED
Button controlled operation with
time interval t
1-4
-
-
-
Undefined
5
On
20
32
Value given by r is ignored and macro is
run infinitely
6
On
40
64
Save start-up macro definition to flash
memory without executing
7
-
-
-
Undefined
Table 54 Macro Control Bit Definitions
Summary of Contents for Ithaca 280
Page 1: ...iTherm 280 Programmer s Guide PN 28 04430 Rev K APRIL 2011...
Page 2: ...Page intentionally left blank...
Page 12: ...Page x Rev K...
Page 13: ...28 04430 Rev K Page 1 chapter 1 Introducing your iTherm 280 Printer...
Page 14: ...Page 2 Rev K...
Page 20: ......
Page 21: ...28 04430 Rev K Page 9 chapter 2 iTherm 280 Specifications and Requirements...
Page 22: ...Page 10 Rev K...
Page 41: ...28 04430 Rev K Page 29 chapter 3 Setup Procedures...
Page 42: ...Page 30 Rev K...
Page 50: ......
Page 51: ...28 04430 Rev K Page 39 chapter 4 How to Operate the iTherm 280 Printer...
Page 52: ...Page 40 Rev K...
Page 60: ......
Page 61: ...28 04430 Rev K Page 49 chapter 5 Configuring Your iTherm 280 Printer...
Page 62: ...Page 50 Rev K...
Page 68: ......
Page 69: ...28 04430 Rev K Page 57 chapter 6 Programming Codes...
Page 70: ...Page 58 Rev K...
Page 250: ......
Page 251: ...28 04430 Rev K Page 239 chapter 7 iTherm 280 Color Graphics...
Page 252: ...Page 240 Rev K...
Page 267: ...28 04430 Rev K Page 255 chapter 8 Unicode...
Page 268: ...Page 256 Rev K...
Page 272: ......
Page 273: ...28 04430 Rev K Page 261 chapter 9 iTherm 280 Extended Printer Control...
Page 274: ...Page 262 Rev K...
Page 280: ......
Page 281: ...28 04430 Rev K Page 269 chapter 10 Communications...
Page 282: ...Page 270 Rev K...
Page 306: ......
Page 310: ......
Page 312: ......