beautypg.com

Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 157

background image

Generating Label Formats

149

Advanced Format Attributes

Two different advanced formatting attributes extend the text presentation capabilities.

The first format attribute allows a set of label format records to make a state change
that modifies the font attributes of any following DPL text records. The second format

attribute provides a means of inserting text and font formatting commands directly into
the DPL data stream via a command delimiter structure. All label formats begin by
default with attributes disabled.

The table below represents the current list of font attributes available to the user. Note

that these commands are delimited by the \<xxx> sequence (where xxx is from the list
below).

Command

Units

Purpose

Notes

FB

+/-

Turns on or off font boldfacing.

minus “-” is disable; or,

plus “+” is enable

FI

+/-

Turns on or off font italicization.

FU

+/-

Turns on or off underlining of string.

FPn

Points

Specifies the vertical point size of the
following text relative to the base line.

FSn

Points

Specifies the horizontal point size of the
following text relative to the base line.

FR[+/-]n

Degrees

Specifies the rotation of the base line,

relative to the original print direction of the
record.

If a + or – precedes the

numeric value, then the
direction is relative to the

current print direction.


These commands are only valid for scalable fonts, such as Internal Font 9, S00, S01, or

downloaded TrueType scalable fonts. (Some models have limited standard font sets and

capabilities; see the notes below for applicability of commands and consult the
appropriate Operator’s Manual for available standard and optional font sets.)





For example, the first format attribute command can be illustrated as follows. The text

below and the resulting label are examples of a current DPL format:

This manual is related to the following products: