How to create a PDF Label from Java application using ZPL Template?

// Expert user has replied.
V Vinod Venugopal 3 months 3 weeks ago
257 5 0

Hello, 

   How can a label in pdf format be generated using Zebra ZPL template?  Previously, I have generated bulk label printing by sending ZPL commands to printer. The ZPL template  is stored in the printer and uses the zpl commands to print label.  Now I wanted to render label on pdf using the template, send it as email attachment and print whenever possible.  Do i need to store the template on the service and create a label? Is there any api to support this?

Thanks

Vinod  

Please Register or Login to post a reply

5 Replies

S Steven Si

All Zebra Link-OS printers support PDF. It's called the PDF Direct. You can refer to this article to enable the PDF Direct on the printers - Announcement | Printers Include Free PDF Direct with Link-OS 6.3. With the PDF Direct enabled printers, there is no need to convert a PDF to ZPL.

V Vinod Venugopal

Hi Steven,

   I wanted to convert ZPL commands to an image  or PDF preview and then email it to the user. The user then can print it from an A4 sheet using the regular printer.

Thanks

Vinod 

  

V Vinod Venugopal

Hi Steven,

I wanted to convert the ZPL commands to an  image / pdf  preview and print of using regular printer.  Does SDK have any rendering API that can convert zpl commands to an image preview before sending to printer?

Thanks

Vinod

V Vinod Venugopal

Hi Steven,  

There are certain users who don't have access to Zebra printers. They need to print the label from A4 sheet from a PDF or Image using regular printers.  Does the SDK support rendering the zpl commands to an image or pdf?

Thanks

Vinod

 

S Steven Si

Hi Vinod,

Zebra SDK doesn't have API converting ZPL to PDF. Some third party tool can help you to convert ZPL into PNG or JPEG image. Labelary provides API to convert ZPL into image. Then you can use other libraries to convert an image into PDF.

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