TH320/TH420
Programmers Guide
55
Example
: Create different size stars and an ellipse around a block of text.
The graphics buffer is at a frozen state at printer initialization or reset, with blank data in it.
Each the time this command is given, the current color and shade mode values (if any) are used for the
surround graphic, and may be changed before any subsequent surround graphics and/or printing
output. This command may be used in page mode.
Save graphics buffer as logo
ASCII
GS 0x91 n
Hexadecimal 1D 91 n
Decimal
29 145 n
This command will save all the raster data that is in the working graphics buffer (where surround
graphics are formed) as a logo with index value n. This logo can then be used repeatedly for inserting
different text. See the background logo print command.
There is one working graphics buffer in the printer; its size (and that of the saved logo) is of maximum
print width size, and of sufficient length to store the largest of the surround graphic styles defined since
the last buffer “freeze” event. This command is ignored if the graphics buffer is not in a “merge
pending” state. The graphics buffer state will be set to “frozen” by this command.
Related information
This command is ignored in page mode.
Background logo print mode
ASCII
GS 0x92 n
Hexadecimal 1D 92 n
Decimal
29 146 n
This command will place into the graphics buffer the logo designated by n. As soon as there is a print
action command (such as text output) the graphics buffer will be merged (logical OR process) with
print output.
This command sets the graphics buffer state to “merge pending”, functioning and performing the save as in
the form and merge real-time surround graphics command.
Related information
This command is ignored in page mode.
Shade and store logo
ASCII
GS 0x9A n m o
Hexadecimal 1D 9A n m o
Decimal
29 154 n m o
Value of n:
n is ID (logo index value) of an existing logo in either flash or RAM memory
Value of m:
m is the % of shading to be applied to the logo, 0<=m<=100.
Value of o:
o is the new ID (logo index value) to be used to store the shaded result, according to
the current setting of user storage into flash or RAM.
This command applies shading to an existing logo of any size, storing the result in a new logo at index
o. The new logo is thus better suited for use in a merging mode. The % of shading will have only a few
perceptible gradations, so large increments (20 are suggested) should be used to achieve visibly
distinct effects.
Summary of Contents for TH320
Page 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Page 75: ...TH320 TH420 Programmers Guide 67 ...
Page 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Page 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Page 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Page 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Page 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Page 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Page 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Page 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Page 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Page 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Page 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Page 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Page 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Page 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Page 156: ......
Page 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...