ANS-0658 · PRINTING, PDF & EMAIL TEMPLATES

How to Generate Barcodes on NetSuite Advanced PDF/HTML Templates?

NetSuite users can integrate barcode generation directly into their Advanced PDF/HTML print forms using a specific BFO tag.

Short answer

To generate barcodes on NetSuite Advanced PDF/HTML templates, utilize the dedicated <barcode /> BFO tag. This modern approach ensures proper barcode rendering and requires the 'Bar Coding and Item Labels' feature to be enabled within your NetSuite account. This method replaces older font-based techniques for reliable barcode integration.

Scenario

Organizations often require the inclusion of barcodes on their printed documents, such as invoices, packing slips, or item labels, generated from NetSuite. The challenge lies in correctly implementing barcode functionality within NetSuite's customizable print forms to ensure scannable and accurate output.

Solution

When customizing Advanced PDF/HTML templates in NetSuite, the recommended method for generating barcodes involves using a dedicated BFO tag. This approach ensures proper barcode rendering and requires the 'Bar Coding and Item Labels' feature to be enabled.

  1. Ensure that the 'Bar Coding and Item Labels' feature is activated within your NetSuite account.

  2. Within the Advanced PDF/HTML template, integrate the BFO tag to render the desired field as a barcode. For example, to print a UPC code:

<barcode value="${item.upccode}" type="CODE128"/>

This method replaces older techniques that relied on changing font types to display barcode data.

Expert NetSuite Support

Need help with this NetSuite issue?

Printing, PDF & Email Templates consulting and configuration support

Talk to a consultant