TransAct 8000 User Guide

Page of 318
Programming Codes 
 
Ithaca
®
 8000 Programmer’s Guide 
 
100-06908 
Rev D 
Page 229 
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
1
 
… d(x x y x 8) 
Hexadecimal  1DH 2DH <Name..> <0> x y d
1
 
… d(x x y x 8) 
Decimal 
<29> <45> <Name..> <0> x y d
1
 
… d(x x y x 8) 
Range 
1   x   255 
 
1   y   255 
 
0   d   255 
 
<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.