Sending file using Python

// Expert user has replied.
A Ardyn Izuya 3 years 7 months ago
5044 1 0

Hey All,
I am working on a project where i want to take a zpl file and send it to a printer using a python script. The problem is i never handled ZPL files and do not know how to go about it. I have a Zebra ZP505 Thermal Label Printer which is connected via Ethernet. I would really require some assistance in knowing what kind of packages and modules(i.e. to use socket tcp for this type of printer) to use to send the zpl file over to the printer. Any kind of help is appreciated. Please let me know and i can provide further details if the question seems vague. Thanks in advance.

Please Register or Login to post a reply

1 Replies

M Manuel Caicedo-Rivera

Hi Ardyn,
I don't know if you are working in a project for UPS/FedEx, but the printer model with the initials "ZP" is a custom version of Zebra printers disegned to work with UPS/FedEx. If you are not working with UPS/FedEx, we would recommend to review the stantard desktop Zebra printers for your project, see the link below to review the options available. 
https://www.zebra.com/us/en/products/printers/desktop.html
If you want to learn how to program ZPL, we recommend to review the ZPL programming guide, see the link below.
https://www.zebra.com/content/dam/zebra/manuals/printers/common/programm...
If you want to learn how to develop applications for Zebra Link-OS printers, so I would recommend to review the link below
https://techdocs.zebra.com/link-os/2-12/bestpractices/content/index.html
If you want to review the APIs available to develop an application with Zebra Link-OS printers. please review the link below. 
https://techdocs.zebra.com/link-os/2-15/labelIndex.html
If you are ready to work with Zebra Printers, then you can download the Multiplatform Link-OS SDK from the link below.
https://www.zebra.com/us/en/products/software/barcode-printers/link-os/l...
Also, 
Python already has developed a third-party SDK for Zebra printer. I have added the links below for your research.
https://pypi.org/search/?q=zpl+
https://pypi.org/project/zebra/
https://pypi.org/project/zpl/
https://www.zebra.com/us/en/support-downloads/knowledge-articles/ait/Net...
MC

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