How to Print Barcode Labels Using Ignition Reporting Module and Zebra ZT230 Printer?

Hi everyone,

I’m new to Ignition SCADA and currently working on a project where I need to print barcode labels using the Reporting module and a Zebra ZT230 printer. Each barcode needs to be unique, containing dynamic data like product names, batch numbers, and timestamps.

I’ve explored the Reporting module to design reports, but I’m not sure how to:

  1. Format the report to generate a barcode.
  2. Send the generated barcode label to the Zebra ZT230 printer.
  3. Dynamically update the barcode content for each print.

My printer supports ZPL commands, but I’m unsure how to integrate it with Ignition to automate label printing. Can anyone guide me on the steps I need to follow or share any examples/scripts for such tasks?

Any help, advice, or links to resources would be greatly appreciated!

Thanks in advance!

It is relatively easy to manipulate ZPL and then send it to the printer via TCP/IP socket. Some discussions with example code:

https://forum.inductiveautomation.com/search?q=Zebra%20ZPL%20Socket%20order%3Alatest

1 Like

We install the printers using the native drivers from Zebra on the gateways.
Then we use ExecuteAndDistribute to print the labels to the printer.
The data like barcode, datetime, etc are just passed as parameters to the report.

1 Like