Datamax-O'Neil Class Series II Programmer’s Manual User Manual
Page 36
System-Level Command Functions
22
Class Series 2 Programmer’s Manual
nn…n
-
Up to 16 characters used as an image name.
0x0d terminates the name.
data
-
Image data
Sample:
data...data
The sample above instructs the printer to (1) receive an 8-bit PCX
image sent by the host in an 8-bit data format, (2) name the
image “Test”, and (3) store it in Module D (with a .dim file
extension).
STX i
Scalable Font Downloading
The command structure for downloading TrueType (.TTF) scalable fonts (files may be
single-byte or double-byte character systems) is as follows:
Syntax:
Where:
m
-
The designator of the module where the font is to be
saved; see Appendix K.
t
-
Type of scalable font being downloaded:
T = TrueType
nn
-
Two-digit font reference ID. Valid range is 50-99,
9A-9Z, 9a-9z
(base 62 numbers).
Name
-
The title, up to 16 characters, for this font.
terminates the Name.
xx…x
-
Eight-digit size of the font data, number of bytes,
hexadecimal, padded with leading zeros.
data
-
The scalable font data.
Sample:
The sample above downloads a TrueType font to Module D, and
assigns it the Font ID of 52 with the name “Tree Frog” and file
extension .dtt. The size of the font data is 0x87C2 bytes long.