Special formatting

The directives can contain embedded formatting instructions. This page details the available instructions.

Barcode

Any data value can be requested as a barcode by appending

,BC[Type=t][Height=h][Width=w][Alignment=a][TextPosition=tp]

where any of the [bricked] entries are optional

Type can be any of:

  • 104 = EAN-13

  • 108 = Code 39

  • 110 = Code 128

  • 106 = Interleaved 2 of 5

  • 107 = Codabar

Height and Width are pixel units

Alignment can be any of

  • -1 = Left

  • -2 = Center

  • -3 = Right

TextPostion can be any of

  • -11 = None

  • -12 = Above

  • -13 = Below

Width

The width of the data can be specified by appending either a positive (left-aligned) or negative (right-aligned) value to the directive

</directive,width>

e.g.

</WRKSTID,-6>

Format

Formatting of numbers or amounts can be requested by append either

,FMT

or

,FMTABS

The second is absolute format (no negative values)

Last updated

Was this helpful?