Programming Codes
Ithaca
®
8000
Programmer’s Guide
Page 128
Rev D
100-06908
User Macros
The user macro feature works by inserting the macro data buffer into the printer data
stream when the print user-store data command is encountered.
Macros can be any data normally sent to the printer including graphics. (Note: user-store
maintenance and inquire commands may not be included in the macro definitions.) The
printer stores macro data in a RAM-based storage buffer as it is received and
processed. The storage buffer may then be saved to a flash-based user store or inserted
into the print data stream. If a macro is recalled from user store, it is expanded into the
macro buffer and replaces whatever is currently there.
Programming Considerations
The flash (nonvolatile) memory has a limited number of write cycle operations.
Consequently, the number of saves should be limited. The buffer should not be saved on
a transaction by transaction basis, but rather a maximum of once per day.
The buffer is initially about 16K
7
bytes long. All commands
8
and print data are placed in
the buffer and must be included in the size limits. The printer does not indicate when the
buffer is full. The application must make sure that the buffer is not overfilled. The printer
simply stops saving information when it is full. As the buffer fills, the input data is printed
normally. The effect of the macro start command is to clear the buffer and to start to
save the input data. The macro stop command stops saving data and initializes internal
pointers for the next print. To store the data in the nonvolatile flash, it must be named
and saved by one of the user-store save commands.
When the macro buffer is inserted into the data stream, configuration commands (like
font or pitch changes) remain in effect after the macro is processed. Illegal commands
are placed in the buffer and take up space.
Horizontal color graphics should be sent to the printer compressed. If the data is not
compressed, it is saved in the macro buffer. If the buffer is saved into the user-store
nonvolatile flash, there must be enough room in the user store for all of the data. As
user-store space is used, the macro buffer will be larger than the available space in user
store. Only the used space is saved, but it is possible to define a macro that does not fit
in the remaining user-store space.
7
The actual buffer is smaller because of the overhead.
8
IPCL commands are converted by the printer into an equivalent [ESC] code and then placed in
the save buffer. The equivalent [ESC] code should be used to calculate the size of the save
buffer data.
Summary of Contents for Ithaca 8000
Page 1: ...Ithaca 8000 Programmer s Guide PN 100 06908 Rev D November 2010...
Page 2: ...This page intentionally left blank...
Page 13: ...100 06908 Rev D Page xi...
Page 14: ......
Page 15: ...100 06908 Rev D Page 1 chapter 1 Introducing your Ithaca 8000 Printer...
Page 16: ...Page 2 Rev D 100 06908 This page intentionally left blank...
Page 22: ......
Page 23: ...100 06908 Rev D Page 9 chapter 2 Ithaca 8000 Specifications and Requirements...
Page 24: ...Page 10 Rev D 100 06908 This page intentionally left blank...
Page 42: ...Page 28 Rev D 100 06908 chapter 3 Setup Procedures...
Page 43: ...100 06908 Rev D Page 29 This page intentionally left blank...
Page 51: ...100 06908 Rev D Page 37 chapter 4 How to Operate the Ithaca 8000 Printer...
Page 52: ...Page 38 Rev D 100 06908 This page intentionally left blank...
Page 60: ......
Page 61: ...100 06908 Rev D Page 47 chapter 5 Configuring Your Ithaca 8000 Printer...
Page 62: ...Page 48 Rev D 100 06908 This page intentionally left blank...
Page 68: ......
Page 69: ...100 06908 Rev D Page 55 chapter 6 Programming Codes...
Page 70: ...Page 56 Rev D 100 06908 This page intentionally left blank...
Page 251: ...100 06908 Rev D Page 237 chapter 7 Ithaca 8000 Color Graphics...
Page 252: ...Page 238 Rev D 100 06908 This page intentionally left blank...
Page 267: ...100 06908 Rev D Page 253 chapter 8 Unicode...
Page 268: ...Page 254 Rev D 100 06908 This page intentionally left blank...
Page 272: ......
Page 273: ...100 06908 Rev D Page 259 chapter 9 Ithaca 8000 Extended Printer Control...
Page 274: ...Page 260 Rev D 100 06908 This page intentionally left blank...
Page 280: ......
Page 281: ...100 06908 Rev D Page 267 chapter 10 Communications...
Page 282: ...Page 268 Rev D 100 06908 This page intentionally left blank...
Page 306: ......
Page 310: ......
Page 312: ......