User-Defined Images And Graphics Commands - TransAct Ithaca 8000 Programmer's Manual

Transact 8000: user guide
Table of Contents

Advertisement

Programming Codes
Function
Delete Start-Up Macro Definition
ASCII
GS _
Hexadecimal 1DH 5FH
Decimal
<29> <95>
Description The GS _ command deletes a start-up macro definition previously created by the
GS ^ command. If a start-up macro was not previously defined, the command
will be ignored.

User-defined Images and Graphics Commands

Function
Define user-defined bit image
ASCII
GS - <Name..> <0> x y d
Hexadecimal 1DH 2DH <Name..> <0> x y d
Decimal
<29> <45> <Name..> <0> x y d
Range
1
x
1
y
0
d
<Name> = a 15-byte maximum length name to identify the image
Description GS - defines a bit-image for storage in the nonvolatile memory pool. The printer
maintains an area of flash memory specifically designated for multiple bit-image
storage. The area can contain as many bit-images as its size permits. (A
printout of the amount of nonvolatile memory remaining can be obtained by
performing a printer self test.) Each image is uniquely identified by the name
given to it by the <Name> parameter. The name of the bit-image can be from
one to 15 bytes long and contain any alphanumeric characters as well as spaces.
The format of the bit-image is identical to that defined by the GS * command.
The GS _ command must be entered in standard mode only at the beginning of a
print line. Any image may be up to 2048 bytes long. If the size of the image is
larger than the space remaining in the nonvolatile buffer, the image will not be
saved. When the last byte of bit-image data is received and there is ample
space in the nonvolatile buffer for the bit-image, the bit image will be saved.
The following basic example demonstrates how to define an 8-bit x 8-bit block
with the name ―MY IMAGE‖. A representation of the format of a downloaded bit-
image is depicted below.
100-06908
... d(x x y x 8)
1
255
255
255
Rev D
®
Ithaca
8000 Programmer's Guide
... d(x x y x 8)
1
... d(x x y x 8)
1
Page 229

Advertisement

Table of Contents
loading

Table of Contents