4 downloadable font command summary – Microcom 322M User Manual

Page 73

Advertising
background image

Chapter 8

Downloadable Fonts

322M Operator’s Manual

69

Word char_offset [last_char-first_char]

an array of offsets, one for each character in
font. Each offset is the distance, in bytes,
from the start to the beginning of the
corresponding character’s data structure.
The first word in this array is the offset to the
first character’s data; the last word is the
offset to the last character’s data.


Label first_char_data

the beginning of the graphic image data


Word char_height

height of this character’s bitmap in dots


Word char_width

width of the graphic image in dots


Byte bitmap_data[char_height][byte_width]

bitmap of character, 2d array. The most
significant bit of the first byte in each row,
prints as the right most dot of the character,
and the first row is the bottom row when
printed.

8.4

Downloadable Font Command Summary

The following commands refer to the use of downloadable fonts and graphics:

^A

^D

COMMAND

100

Clear User RAM: This command clears all downloadable fonts, graphics, and
stored label formats.

101

List Memory Bytes Available: The printer

will send the “>” character followed

by the amount of available bytes and then finally a “<” character. (i.e.
>192690<)


XX

104

Load Graphic Images or Fonts into User Memory without Compression:
The ^Axx specifies which memory slot to place the image/font (1-255). This
command should be used with an ASCII-HEX file that contains only printable
characters less then 80 HEX. This command supports graphics over 64KB.


XX

106

Load Graphic Images or Fonts into User Memory without Compression:
This command is intended for legacy support only and Microcom Corporation
recommends either the ^D104 or ^D107 commands. Fonts must be less than
64KB for this command to function.


XX

107

Load Graphic Images or Fonts into User Memory using Binary
Compression:
The ^Axx specifies which memory slot to place the image/font
(1-255). This command will greatly reduce the image download time and
should be used whenever possible. This command may only be used with 8-
bit data connections and will not function on 7-bit data connections.

Advertising