Hello!
I have a tag with some variable elements in ZPL format.
I'm using Windows 10 and a ZD220T connected though USB.
How to I send my ZPL label to the printer?
Integrate ZD220T printer with Python script// Expert user has replied. |
Integrate ZD220T printer with Python script// Expert user has replied.Hello! |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
2 Replies
Got it working! It's really simple, actually!
Install Zebra package from PyPI and use the script:
from zebra import Zebra
label = ("My label done using Zebra Designer (in ZPL format)")
# This is the name of the printer, in my case, is "ZDesigner ZD220-203dpi ZPL"
z = Zebra('ZDesigner ZD220-203dpi ZPL')
z.output(label)
You can download and install ZebraDesigner Driver for ZD220T. You can find the driver on the ZD220T support page. The driver supports Windows 10. Then the Python script can send the ZPL through the driver to the printer. Hope this helps.