New Barcode Code 39 Barcode v1
This template generates a code 39 barcode on a specified size PDF.
Info
Information to call the Code 39 Barcode v1 template
API End Point:
https://api.advicement.io/v1/templates/pub-code-39-barcode-v1/compile
Authentication:
Use your API Security Token (which is generated in your dashboard) in the Adv-Security-Token header parameter
Refer to our authentication guide for more information.
Uses Luatex:
TRUE
Uses Charts:
FALSE
Available On:
{ "documentSettings": { "pageHEXColour": "FFFFFF", "documentHeight": "5cm", "documentWidth": "5cm" }, "documentContent": { "encodedData": "CODE 39", "showText": true, "showStars": true, "textVerticalPosition": "bottom", "textHorizontalPosition": "spaced" } }

documentSettings - A JSON object which contains the settings of the template (pageHEXColour, documentHeight, documentWidth).

pageHEXColour - An optional string which contains the HEX page colour of the document in HEX. The default value is 'FFFFFF'.

documentHeight - An optional string relating to the height of the document (in cm). The default value is '10cm'.

documentWidth - An optional string relating to the width of the document (in cm). The default value is '10cm'.

documentContent - A JSON object which contains the content of the template (encodeData, showText, showStars, textVerticalPosition, textHorizontalPosition).

encodeData - A required string which contains the encoded data for the Barcode.

showText - An optional boolean variable which controls whether to show the text in the barcode.

showStars - An optional boolean variable which controls whether to show the stars around the text of the barcode.

textVerticalPosition - An optional string which contains the vertical position of the text in the Barcode. Possible options are 'top' and 'bottom'.

textHorizontalPosition - An optional string which contains the horizontal position of the text in the Barcode. Possible options are 'center', 'right', 'left' and 'spaced'.