Anchor placement

Specifies the position of the barcode or text with respect to the predefined searchable text pattern on a page, defined by the anchor command.   See anchor pattern in Anchor variables.

Syntax

To use default bottomcenter:topcenter alignment

barcode target=AnchorName, BarcodeValue

 

To use explicit alignment

barcode target=AnchorName:TargetAP:ElementAP, BarcodeValue

 

To specify offset of an element in respect to alignment point

barcode target=AnchorName[:TargetAP:ElementAP] [,left=LeftOffset] [,up=UpOffset] [,right=RightOffset] [,down=DownOffset] ,BarcodeValue

Parameters

AnchorName

Name of anchor used as a target. Should be valid name defined by anchor command.

TargetAP

 Target (anchor) alignment point.  Default value is bottomcenter

ElementAP

 Element alignment point.  Default value is topcenter

LeftOffset

Value of barcode shift left. Default 0.0

UpOffset

Value of barcode shift up. Default 0.0

RightOffset

Value of barcode shift right. Default 0.0

DownOffset

Value of barcode shift down. Default 0.0

Examples

Place barcode under anchor. Use anchor value.

anchor “OrderID=${}”

barcode target=OrderID, ${anchor}

Align anchor and barcode on the left side.  Place barcode under target. Add offsets.

anchor “OrderID=${}”

barcode target=OrderID:bl:tl,, down=0.1, right=0.2, ${anchor}

Align using anchor without value.  Just position.

anchor “BarcodePlace”, name=bp   

barcode target=bp, “1234567890”  

 

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