Elementname: Barcode

Description

Print a 1d or 2d barcode. To be used in PlaceObject.

Allowed attributes: fontface, height, select, showtext, type, width

Child elements: (none)

Parent elements: Case, ForAll, Loop, Otherwise, PlaceObject, Td, Until, While

Attributes

fontface (string, optional)

Name of the fontface of the text that can be placed beneath the barcode. Not used in all codes.

height (number or length, optional)

Height of the barcode.

select (XPath expression)

The data to be encoded in the barcode.

showtext (yes/no, optional)

Should the text be written under the barcode?

type

Type of the barcode. One of EAN13, Code128 or QRCode.

QRCode:

Create an »optimal« QR code in terms of error correction and size.

Code128:

Generate a code 128 barcode for numbers and text.

EAN13:

Create an EAN13 barcode for 13 digits.

width (number or length, optional)

Width of the barcode

Example

<PlaceObject>
  <Barcode select="'speedata Publisher'" type="Code 128" showtext="nein"/>
</PlaceObject>
<PlaceObject>
  <Barcode select="4242002518169" type="EAN13"/>
</PlaceObject>

See also

PlaceObject

Commands

Version: 2.0.0 | Start page | Command reference | Other languages: German