Downloadable Graphics
Chapter 6
6-6
428TC Operator’s Manual - 880041-0141
8-bit data connections. This command is usable on data connections that support either 7
or 8-bit data.
The following is the format of the ^D104 command when used for a graphic image file:
^A<
Slot Number
>^D104<CR>
<
Rotation
> <
Count
> <
Image Data
>
Where:
<
Memory Slot Number
> is the memory slot location (1-255) where the graphic will be saved
in the printer’s memory. The printer uses the same TCI of “8” to select downloadable fonts
or graphics. Therefore a font and a graphic cannot have the same Slot Number or CGN
number.
<
Rotation
> is an 8-bit integer, 0 for an upright font, and 1 for a 90-degree rotated image.
<
Count
> is a 32-bit integer, least significant byte first. This is the number of bytes that the
image uses.
<
Image Data
> is the graphic image data that has been converted to ASCII-HEX.
ASCII-HEX Conversion
The ASCII-HEX conversion is performed by “ORing” the most significant and least
significant nibbles of every byte with “30” HEX.
For Example: To convert the byte “6C” to ASCII-HEX, simply OR the first and second
nibbles with “30” HEX. This results in the two bytes “36” HEX and “3C” HEX. This
conversion results in a file size that is twice as big as the source, the data can now be
transmitted over a 7-bit data connection.
Figure 6-1 ASCII-HEX Conversions
6.6 Graphic Image Data Format
The image data consists of a set of data structures and location offsets to those structures.
All data is stored in binary form. Multi-byte values are stored least-significant-byte first.
The method illustrated below allows graphic images to span 64KB memory segments.
When using graphics over 64KB, the printer will determine the number of 64KB slots
6C
6
C
36 3C
Summary of Contents for 428TC plus
Page 2: ......
Page 4: ......
Page 12: ...viii 428TC Operator s Manual 880041 0141...
Page 52: ...Getting Started Chapter 3 3 36 428TC Operator s Manual 880041 0141...
Page 144: ...Downloadable Fonts Chapter 7 7 8 428TC Operator s Manual 880041 0141...
Page 178: ...Code Switching Chapter 9 9 6 428TC Operator s Manual 880041 0141 Figure 9 5 Code Page 850...
Page 182: ...Code Switching Chapter 9 9 10 428TC Operator s Manual 880041 0141 Figure 9 9 Code Page 852...
Page 186: ...Code Switching Chapter 9 9 14 428TC Operator s Manual 880041 0141 Figure 9 13 Code Page 437...
Page 190: ...Code Switching Chapter 9 9 18 428TC Operator s Manual 880041 0141...
Page 210: ...12 10 428TC Operator s Manual 880041 0141...
Page 212: ...13 2 428TC Operator s Manual 880041 0141...
Page 214: ...13 4 428TC Operator s Manual 880041 0141...
Page 232: ...13 22 428TC Operator s Manual 880041 0141...
Page 236: ...13 26 428TC Operator s Manual 880041 0141...
Page 238: ...13 28 428TC Operator s Manual 880041 0141...
Page 239: ......