ANS-1128 · PRINTING, PDF & EMAIL TEMPLATES

How to Generate and Print QR Codes on NetSuite Advanced PDF/HTML Templates

Leverage NetSuite's Advanced PDF/HTML templates and the integrated BFO rendering engine to embed scannable QR codes directly onto your custom documents.

Short answer

NetSuite's Advanced PDF/HTML templates support QR code generation using specific barcode tags. By utilizing the integrated BFO rendering engine, users can embed QR codes with customizable attributes like code type, dimensions, and data value directly into their PDF documents for various business needs.

Scenario

Organizations often require the ability to include scannable QR codes on their NetSuite-generated PDF documents, such as invoices, packing slips, or labels. This functionality is crucial for streamlining processes like inventory tracking, product authentication, or providing quick access to external information. The challenge lies in correctly implementing the necessary syntax within NetSuite's Advanced PDF/HTML templates to render these codes effectively.

Solution

NetSuite's Advanced PDF/HTML templates provide the capability to generate and print QR codes directly onto PDF documents. This functionality is powered by the integrated BFO rendering engine. Detailed guidance on creating various barcodes for PDF generation can be found in the BFO User Guide, which outlines the specific syntax and attributes required for template content. Oracle Help Center articles also provide relevant information on this feature. To embed a QR code, use the following barcode tag structure within your Advanced PDF/HTML template. Remember to remove any spaces at the beginning and end of the tags when implementing them in NetSuite's template editor:

<barcode codetype="qrcode" width="100" height="100" showtext="true" value="13244564"></barcode>

Expert NetSuite Support

Need help with this NetSuite issue?

Printing, PDF & Email Templates consulting and configuration support

Talk to a consultant