beautypg.com

Datamax-O'Neil Class Series II Programmer’s Manual User Manual

Page 36

background image

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:

D
IDpTest
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:

imtnnNamexx…xdata…

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.

- 0x0d

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:

iDT52Tree Frog000087C2data...

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.

This manual is related to the following products: