Set QR Code in a PDF Template in NetSuite

To set a qr code in a PDF template in NetSuite, we can use the barcode tag. The <barcode> tag is used to generate a barcode in a PDF or printed document generated by a script or template.

  • The codetype attribute specifies the type of barcode being generated. In this case we give it as codetype=”qrcode”.
  • The height and width attributes define the dimensions of the barcode.
  • The showtext attribute controls whether the text value represented by the barcode will be shown below the barcode. If the value is set to “true” the text contained in the QR code will be printed below it, if “false”, then the text will not be shown below the qr code.
  • The value attribute contains the data that will be encoded into the QR code. This determines what information the barcode will hold.

<barcode codetype=”qrcode” height=’75’ width=’75’ showtext=”true” value=”The qr code displays this value.”/>

Leave a comment

Your email address will not be published. Required fields are marked *