beautypg.com

DIGIWEIGH DW-PRT24T User Manual

Page 7

background image

The free text is entered directly, only it must be enclosed by quotation marks. If the text
itself must contain a quotation mark, its quotation mark must be preceded by a ‘\’. For 2D
barcode PDF417 only – control symbols (ASCII codes bellow 32) can be encoded using
the syntax ‘\dd’, where dd is the decimal representation of the ASCII code.

·

Current Date


The code is TD[m]. m is an optional integer from –3500 to 3500, and sets a difference
from the current date in days – you can use this to set an expiry date. Date could be
formatted in several ways from File->Label Setup or by pressing the corresponding
button.

·

Current Time


The time code is TT. Time format can be set from File->Label Setup.

·

Variable


Format – Vn[Modifiers].

n is the number of the variable and can have a value from 0 to 31.

The modifiers are indicators for separating symbols from the variable. Their number is
arbitrary. If there are no modifiers, the variable is added as it is by default and
initialization, without additional processing. In most cases, modifiers are not necessary.
The printer works with the following modifiers:

>

Cuts off the leading symbols of the string that are identical with the symbol that

follows the modifier’s sign. It can be used to remove leading zeroes or spaces.
<

Cuts off the end symbols of the string that are identical with the symbol that

follows the modifier’s sign.
Rn

Leaves the right n symbols in the string.

Ln

Leaves the last n symbols in the string.

Mm.n Gets n symbols from the string, starting at m position.

#

Removes the leading zeroes, if the string could be interpreted as an integer.

Xmn Substitutes all symbols with value m with the n symbol.
G

After this symbol other modifiers must follow. They will act as global modifiers –

the whole text until the current position will be changed, not the last variable or counter.

·

Counter


Format Cn [Modifiers]

n is the number of the counter and can have a value from 0 to 7.