Stx I Scalable Font Downloading - Datamax E-Class Mark II Programmer's Manual

Class series ii
Hide thumbs Also See for E-Class Mark II:
Table of Contents

Advertisement

Sample:
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:
Sample:
22
System-Level Command Functions
- Up to 16 characters used as an image name.
nn...n
- 0x0d terminates the name.
<CR>
- Image data
data
<SOH>D
<STX>IDpTest <CR>
data...data <CR>
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>imtnnName<CR>xx...xdata...
- The designator of the module where the font is to be
m
saved; see Appendix K.
- Type of scalable font being downloaded:
t
T = TrueType
- Two-digit font reference ID. Valid range is 50-99,
nn
9A-9Z, 9a-9z (base 62 numbers).
- The title, up to 16 characters, for this font.
Name
- 0x0d terminates the Name.
<CR>
- Eight-digit size of the font data, number of bytes,
xx...x
hexadecimal, padded with leading zeros.
- The scalable font data.
data
<STX>iDT52Tree Frog<CR>000087C2data...
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.
Class Series 2 Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the E-Class Mark II and is the answer not in the manual?

Questions and answers

Table of Contents