On line guide/help

You are on page 22 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.

Index Prev. Next

Barcode

Print a barcode

Prints a barcode with optional border.


Parameters

Elements / attributes of the <barcode> element:

Coordinate parameters (required) that define the print area of ​​the barcode:
<x1>: Starting X coordinate
<y1>: Starting Y coordinate
<x2>: Ending X coordinate
<y2>: Ending Y coordinate

The above parameters can alternatively be indicated in this way (one of the two methods is mandatory):
<x> Initial X coordinate (top/left corner)
<y> Initial Y coordinate (top/left corner)
<width> Width of the drawing area, calculated from the initial X coordinate
<height> Height of the drawing area, calculated from the initial Y coordinate

Other parameters:
<type> (string) Barcode type. Possible values: C39, C93, C128, EAN8, EAN13, CODE11, PHARMA, ..
<value> (string, numeric) Barcode value (the value must be in the format required by the barcode type)

Extra optional parameters:
<printif>: A simple expression prints this graphic element only if it evaluates to true. If it is not defined, the element is always printed.
The expression must be written using placeholders or constants and one of these comparison operators:
= (identical)
> (greater than)
< (less than)
>= (greater than or equal to)
<= (less than or equal to)
!= (not equal to)
Examples of expressions using placeholders/constants:
{data_set.doc_type}=1
{data_set.level}>={MIN_LEVEL}