PDFBarcode

Use this command to print a barcode on current position.

PDFBarcode(string BarcodeText
string BarcodeType);

Example:
Capital letters and numbers only:
PDFBarcode('TEST1','PdfCode128ABarcode');

Small and capital letters:
PDFBarcode('Test 1','PdfCode128BBarcode');

EAN13
PDFBarcode('001234567890 ','PdfEan13Barcode');

Supported barcode types:

  • PdfCode39Barcode
  • PdfCode128ABarcod
  • PdfCode128BBarcode
  • PdfEan128Barcode
  • PdfEan13Barcode
  • PdfEan8Barcode
  • PdfIsbnBarcode
  • PdfIssnBarcode
  • PdfUpcaBarcode
  • PdfUpceBarcode
  • PdfQrBarcode

The size of the barcode cannot be changed.Some barcodes allow numbers or capital letters only, or may require a specific length.