Advanced Graphic Format Conversion For Programmers; Save Compressed Graphics To Ram (D107); Save Compressed Graphics To Flash (D133) - Microcom 324M Operator's Manual

Direct thermal printer
Hide thumbs Also See for 324M:
Table of Contents

Advertisement

Downloadable Graphics

6.5 Advanced GRAPHIC Format Conversion for Programmers

The following sections are provided to developers who wish to create usable GRAPHIC
images within their own applications. Commands in the following section are not typically
seen for users using Microcom GRAPHIC utilities.
6.5.1

Save Compressed Graphics to RAM (D107)

The following is the format of the ^D107 command when used to store a compressed
GRAPHIC image file into RAM.
^A<RAM Memory Slot Number>^D107<CR>
<Rotation> <Count> <Image Data>
Where:
<RAM Memory Slot Number> is the memory slot location (1-255) where the GRAPHIC will
be saved in the printer's RAM 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 GRAPHIC and 1 for a GRAPHIC rotated 90-
degrees counter-clockwise.
<Count> is a 32-bit integer, least significant byte first. This is the number of uncompressed
bytes that the GRAPHIC image uses, not the number of bytes that will actually be
transmitted. Due to compression, the number of bytes transmitted will normally be less than
this number.
<Image Data> is the compressed binary image.
6.5.2

Save Compressed Graphics to FLASH (D133)

The following is the format of the ^D133 command when used to store a compressed
GRAPHIC image file into FLASH.
^A<FLASH Memory Slot Number>^D133<CR>
<Rotation> <Count> <Image Data>
Where:
<FLASH Memory Slot Number> is the memory slot location (1-120) where the GRAPHIC
will be saved in the printer's FLASH memory. The printer uses the same TCI of "7" 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 GRAPHIC and 1 for a GRAPHIC rotated 90-
degrees counter-clockwise.
<Count> is a 32-bit integer, least significant byte first. This is the number of uncompressed
bytes that the GRAPHIC uses, not the number of bytes that will actually be transmitted.
Due to compression, the number of bytes transmitted will normally be less than this number.
<Image Data> is the compressed binary image.
6-4
324M/424M Operator's Manual - 880026-1001
Chapter 6

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 324M and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

424m

Table of Contents