0
votes

UPS webservice returns gif image instead of epl/zpl file, when I specify 'cash on delivery' option. So now I have a problem, how to adjust this gif image programatically, so it can be printed on zebra printer. This is the image I get: enter image description here

Unfortunatelly I don't have zebra printer to test my tries, but I found out I can see print preview in Zebra Designer, so here's a preview of this image on printer (after rotation): enter image description here

My question is how can I adjust this image programatically (or otherwise) so it can be correctly printed on zebra printer

1

1 Answers

0
votes

You first have to convert the image to a format compatible with ZPL and upload that image to the printer through your ZPL. You need to make sure your printer has enough memory to hold the image.

We use this method in our RocketShipIt Print Server for your exact need. UPS COD labels don't currently support ZPL and we needed a workaround for our customers.

https://docs.rocketship.it/php/1-0/thermal-printing.html#sending-gif-jpeg-png-images-to-thermal-printer

Specifically we use the ^GW EPL2 command:

https://support.zebra.com/cpws/docs/eltron/gw_command.htm