This example demonstrates how you can generate and display one-dimensional (Code 128) and two-dimensional (QR codes) barcodes on your pages. This feature is not incorporated directly into the PHP Generator kernel but can be easily implemented with any suitable external PHP library. In the example below php-barcode-generator and PHP QR Code libraries are used for generation one-dimensional and two-dimensional barcodes respectively.

The Continent: Country value is encoded in both barcodes that are generated and rendered in the OnCustomRenderColumn event handler. Click the button to get familiar with the event handler code.