Page placement

Specifies the distance from the edges of the page where the barcode or text will be placed.

Syntax

To use implicit topleft:topleft alignment on a page:

barcode LeftMargin, TopMargin, BarcodeValue

barcode left=LeftMargin, top=TopMargin, BarcodeValue

 

To use implicit topright:topright alignment on a page:

barcode right=RightMargin, top=TopMargin, BarcodeValue

 

To use implicit bottomleft:bottomleft alignment on a page:

barcode left=LeftMargin, botoom=BottomMargin, BarcodeValue

 

To use implicit bottomright:bottomright alignment on a page:

barcode right=RightMargin,  botoom=BottomMargin, BarcodeValue

 

 To use explicit alignment with default margins or set by margins command

barcode target=page:TargetAP[:ElementAP], BarcodeValue

 

To use explicit alignment with specified margins

barcode target=page[:TargetAP[:ElementAP]]:AllMargins, BarcodeValue

barcode target=page[:TargetAP[:ElementAP]]:HorzlMargins:VertMargins, BarcodeValue

barcode target=page[:TargetAP[:ElementAP]]:LeftMargin:TopMargin:RightMargin:BottomMargin, BarcodeValue

 

NOTE: The defaults units are in inches, but can be changed by the units command

The 0,0 coordinate of the page is the pixel on the top left corner.   

Parameters

LeftMargin

 Left margin Explicit or implicit

TopMargin

Top margin. Explicit or implicit

RightMargin

Right margin

BottomMargin

Bottom margin

AllMargins

 Left, top, right, bottom margins

HorzMargins

 Left and right margins.

VertMargins

 Top and bottom margins.

TargetAP

 Target alignment point.  Default value is topleft

ElementAP

 Element alignment point.  Default value is the same as TargetAP

Examples

Place the barcode at specific coordinates

barcode 1.5, 5, “ABCDEF”

Place barcode at specific corner of the page. Specify distance from the edge.

barcode top=0.5, right = 1.0, ABCDEF

barcode target=page:bl:0.7:0.2, ABCDEF

Show all variables in the bottom right corner of the page. Use default margins.

text target=page:br, ${_vars}

Syntax legend
 

Format

Meaning

Italic

Information that the user must supply
 

Bold

Elements that the user must type exactly as shown.

Between brackets ([])

Optional items
 

Ellipsis (...)

Parameter that can be repeated several times