beautypg.com

Using the font packet 2-27, Adding custom fonts 2-27, Font upload packet 2-27 – Avery Dennison Sierra Sport2 9460 Programmer Manual User Manual

Page 45: Defining 2-27, Font packet 2-27, Using the font packet -27

background image

U s i n g t h e F o n t P a c k e t

You can use a font packet to add or clear downloaded fonts from memory,
upload your font buffer, or upload the cell size information for a particular
font. The font packet is useful when you are downloading fonts. If you are
using downloaded fonts, the font number and the number of bytes each
downloaded font uses is listed.

This packet does not list the number of bytes the standard printer fonts use.

Use the MONARCH® MPCL Toolbox Font Utility (available on our Web site)
to create the font header and data. Refer to the online help for more
information.

Syntax

{W,font#,action,device,data_length,data_record

p }

W1. W

Writable Font Header.

W2. font#

The font identifier from 0 to 32000.

0 is for all fonts. 1 to 5 digits is the font number.
Example: 3 is the standard printer font, Bold.

W3. action

Action. Options:

A

Adds the specified font.

C

Clears all or specified fonts, except ones in flash.

H

Uploads font size information.

M

Uploads font memory usage information.

W4. device

Device. Options:

R

Volatile RAM

Z

All devices (use for upload).

W5. data_length
(optional)

The length of the font data. The range is 68 to 16384.

If you are creating fonts, you need to have font data included with this
packet.

W6. data_
record
(optional)

Multiple data records define the font. The first character is either an
H (hex) or an R (run-length), referring to the algorithm. The rest of the
record is up to 2710 characters of font data in double quotes. Separate the
algorthm and the data with a comma, and end the record with

p .

Configuring the Printer 2-27