Configuring ZPL and ZTC printers via Python and JSON

G George George 1 year 9 months ago
81 0 0

Hi,

Currently I'm configuring multiple Zebra ZPL ZT410 and ZTC QLn320/ZQ620 printers via pushing a JSON script using the Zebra Setup Utilities tool to the printer over the network. This can be slow when having to configure multiple printers.

Is there a way instead that I can push the JSON config file to the printers using Python?

I'm thinking something along the lines of using socket to open a TCP connection to the printer on port 9100 and then send the JSON to the printer. I'd need to then gather the response from the printer to ensure it received the config file successfully.

Has anyone done something similar to this? or maybe there is a python module out there that can do this.

This way I can write a script that contains a list of IP addresses and will automatically push the correct JSON configuration file.

Thanks,

CONTACT
Can’t find what you’re looking for?