Technical data
Table Of Contents
- 0. i Cover B
- 0. i Copyright B
- 0. i TOC B
- 1. i Introduction B
- 2. i Programming Concepts B
- 3. i Code Quick Reference B.backup
- 4. i Standard Command Codes B
- 5. i Optional Command Codes B
- 6. i Bi-Directional Communications B
- 7. i Appendix B
- 7
- appendix
- custom graphics
- CUSTOM GRAPHICS EXAMPLE
- 1. Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks horizontally and six blocks vertically (48 x 48).
- 2. Lay out a grid and draw the image on the grid.
- 3. Transfer the image into a bit map representation and then into hexadecimal format:
- 4. Using the hexadecimal data, send the following code to print the graphic image as designed.
- 5. To send the data in binary format, the software must convert the data into binary format before transmitting it to the printer. Using the BASIC programming language for example, this is done by notation “CHR$ (&HC0)” which sends the hexidecima...
- PCX GRAPHICS EXAMPLE
- CUSTOM GRAPHICS EXAMPLE
- printer configuration commands
- reference tables

Unit 4: Standard Command Codes
“i” Programming Reference
4-61 PN: 9001158B
CUSTOM GRAPHICS, STORE
FUNCTION
To provide similar functionality to the <ESC>G Custom Graphic command, but allows for the graphic
image to be stored on the printer. Use the Store command to send the graphic data to the printer’s
memory.
FORMAT
<ESC>GIabbbcccddd{data}
aaa = Specifies character format of the data
H: Hex data
B: Binary data
bbb = Number of horizontal 8 x 8 blocks (see Note 7 for range)
ccc = Number of vertical 8 x 8 blocks (see Note 7 for range)
ddd = Graphics storage number (001-099)
{data} = Hex or binary data to describe the graphic image
Immediately following the <ESC>CC Memory Area Select command.
EXAMPLE
<ESC>A
<ESC>CC1
<ESC>GIH0020020010100038007C00FE01FF03FF87FFCFFFE07C007C007C007C007C007C007C
007C0
<ESC>Z
OUTPUT
There is no printer output as a result of this command. See <ESC>GR Recall Custom Graphics
command.
NOTES
If a data transmission error occurs, the printer will beep, the ERROR LED will illuminate, and the image
must be transmitted again.
Each graphic to be stored must be sent in its own data stream.
Example of correct data stream:
<ESC>A
<ESC>GIHaaabbb001(DATA)
<ESC>Z
<ESC>A
<ESC>GIHaaabbb002(DATA)
<ESC>Z
Example of incorrect data stream:
<ESC>A
<ESC>GIHaaabbb001(DATA)
<ESC>GIHaaabbb002(DATA)
<ESC>Z
Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the
graphic data or the actual image will not be printed as specified.