Advanced format attributes – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 157

Advertising
background image

Generating Label Formats






Class Series Programmer’s Manual

143

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.

Note: These commands are only valid for “scalable” fonts, such as Internal Font 9, S00 and S01 or

downloaded TrueType scalable fonts. (Non-display models have limited standard font sets and
capabilities; see the notes below for applicability of commands and consult the appropriate operators
manual for available standard and optional font sets.)

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 boldfacing of the font

minus ‘-’ disable, plus ‘+’ enable

FI

+/-

Turns on or off italicization of the font

minus ‘-’ disable, plus ‘+’ enable

FU

+/-

Turns on or off underlining of string.

minus ‘-’ disable, plus ‘+’ enable

(Display-Equipped Models only)

FPn

Points

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

Display-Equipped models only

FSn

Points

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

Display-Equipped models only

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.

Table 8-16: Advanced Format Attributes

For example, the first format attribute command can be illustrated as follows. The text below and the
resulting label (Figure 1) are examples of a current DPL format:


<STX>L
D11
1911S0102600040P018P018Old DPL World
1911S0102000040P018P018Old DPL World
1911S0101400040P018P018Old DPL World
1911S0100800040P018P018Old DPL World
1911S0100200040P018P018Old DPL World
E

Figure 1

Now, if the DPL format is modified as follows, the resulting label (Figure 2) is printed:

Advertising