beautypg.com

Predefine messages – IBM TM7 User Manual

Page 135

background image

For Impact Graphics - Defined as:

X'1D2A020202FF00FF00FF00FF00FF00FF00FF00FF00
00FF00FF00FF00FF00FF00FF00FF00FF'

Error Conditions:

Flash EPROM load error - Verify the sector was erased before downloading
images.

Memory sector is full - The sector can store up to 64 KB of graphics data,
after which the sector is full.

Predefine Messages

RS-232 Syntax:

GS : message_num data GS : or X'1D3A;message_num;data;1D3A'

where:

message_num

The message number being stored.

1

≤ message_num ≤ 25

data

All data and commands to be included in this message. No
immediate commands can be included in the data.

Purpose:

To store predefined messages. This cuts transmission time. This is where
you can store the header and the trailer of receipts, for example.

Remarks:

v After a ″GS :″ occurs, all incoming commands are stored in the message

until another

″GS :″ occurs.

v “Print Predefined Graphics (Logo) Command” on page 151 can be

included in this command.

v The size of all predefined messages cannot exceed 8000 bytes.

Example:

Store a trailer message:

X'1D3A01'

’Thank You For Shopping’ X'0D'

’ At RSD STORE’ X'0D'

’Store #1234567’ X'0D'

X'1D3A'

This would store this message as predefined message 1. See “Print
Predefined Messages” on page 152
for printing this trailer message.
Commands for selecting the print station and print characteristics must be
included with the stored message.

Limitations:

v “Print Predefined Graphics (Logo) Command” on page 151 can be

included in this command. Select and print a graphics command cannot
be used. See “Print Graphic Messages” on page 150.

v “Print Predefined Messages” on page 152 can be included in this

command, but can only be nested one message deep.

Example: Store a predefined message (’Jane Doe’) at location 3, then
issue the following commands:

updated March 18, 2002

Appendix C. RS-232 Programming Information

111

This manual is related to the following products: