Printing images on zebra printer

Hi,

 

I am one of the developer for DHL, and we are currently adding a feature to our application (written in Delphi) to accept unicode characters like chinese, korean, etc..With this we need to be able to print labels with these unicode characters as well. The most full proof way that we have came up with to solve this and avoid font dependency on the printer was to convert the unicode characters to image and send it to zebra printer.  Based on the information that we gathered from your documentation, https://www.zebra.com/content/dam/zebra/manuals/en-us/software/zpl-zbi2-pm-en.pdf, we can encode the image to base64 and use the ^GFA command to print the image but unfortunately the output is garbage.

 

Here is a sample zpl command that we have generated:

^XA

^FO50,50^GFA,396,396,22,,:B64:Qk2+LwAAAAAAADYAAAAoAAAAqQAAABIAAAABACAAAAAAAD8vAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wAAAAAA////AP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wAAAAAA////AP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wAAAAAA////AP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAA////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8AAAAAAAAAAAAAAAAAAAAAAP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AAAAAAD///8AAAAAAAAAAAD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AAAAAAD///8AAAAAAAAAAAD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8AAAAAAP///wAAAAAA////AP///wAAAAAA////AAAAAAD///8AAAAAAAAAAAD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AAAAAAD///8A////AAAAAAAAAAAAAAAAAAAAAAD///8A////AAAAAAD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAD///8AAAAAAP///wD///8AAAAAAP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8AAAAAAP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAAAAAAAAAAAA////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAAAAAAAAAAAA////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8AAAAAAP///wD///8AAAAAAP///wD///8AAAAAAAAAAAAAAAAA////AP///wD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AAAAAAD///8A////AAAAAAD///8A////AP///wD///8A////AAAAAAAAAAAA////AP///wD///8A////AAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wAAAAAA////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A:284B

^FS

^XZ

 

We have followed the documentation but still was not able to get the correct output. Are we missing something? We would appreciate any help you can provide us.

 

Thanks,

 

Ryan

Anonymous (not verified)
Hi Ryan, Ran you attach the

Hi Ryan, Ran you attach the original image you converted to base64?

Thanks,

Robin

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Ryan Alfred Orat
Hi Robin,Thanks for your

Hi Robin,

Thanks for your response. Here is the original imagetest_stringbmp.bmp

Regards,

Ryan

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Ryan,What tool or

Hi Ryan,

What tool or algorithm are you using to convert to B64? 

I ran your image through our Graphics Conversion Wizard and got the following output:

~DYR:TEXT.PNG,p,p,404,24,:B64:iVBORw0KGgoAAAANSUhEUgAAAMAAAAASAQMAAAA35ENgAAAABlBMVEUAAAD///+l2Z/dAAABSUlEQVR42mP8z4AdMDGQKsHM6mT2ZYY8//8Dcx1/fjmpFH/hxpcZCgIMDIzbHfa3nWHPa9iin2BdIvDv04XvQO4HoI4YBZ0Hv3cqeS1uiHLjqv/PprUEyAUZFaJipborqT5ZV+m4QPlLfeOYMNVdKQVAidA0AWfdWQL/w6e9DPwjkc/44QyIC5SId5RoOLbbn1Ghel30D47/gg9EgNwAsHMvMDA0HJZvYGD5L/jR4acLiAu0g4WBwQBI7X4ItPDvffaG7zUGUA/+b/D5v4CB4XfCV6jPwFygjtsH2O8n/K9pf/CV4c8dCYb3BfX3E8A6DBi2MwEdYbdDoIGB6WcDAweYC7acg+Hx/e8JDv/Ff2zmP3D/DJD7ACxxYR/DPYXL+z78//h/HsOX3xUgLsgOBwYLBh0hJQaGP4kOHxn43N0ZGHRAZjHiiigAyQOBIw4gmqIAAAAASUVORK5CYII=:7e7b

^XA

^FT50,50^XGR:TEXT.PNG,1,1^FS

^XZ

This does print properly.

I'm still tying to figure out how to get your B64 converted file to print properly, but it would help if I knew what tool you were using.

Robin

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


daniel Ppe
Hello Robin West,I have had

Hello Robin West,

I have had problems for several days and I need some help. I need to print an image in B64, but at the time of printing it is empty. The B64 sent me in a txt. I have the following:

ZPL CODE::

~DYR:TEXT.PNG,p,p,404,24,:B64: "Here I add the B64 ": CRC

^XA

^MMT

^PW575

^LL1359

^LS0

^FT0,608^XGR:TEXT.PNG,1,1^FS

^PQ1,0,1,Y^XZ

The crc value I get so, -java-

ZCRC16 decodeformat = new ZCRC16();
String key=decodeformat.getCRC16ForCisdfHeader(b64);

The question is; How do i get the z64 or what do i do wrong??

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Tim Borowsky
Hello Robin,I clicked on the

Hello Robin,

I clicked on the link for the Graphics Conversion Wizard and couldn't find it.

Where is it? Does it work with the .NET Framework?

Thanks,

-Tim

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
The Graphic Conversion Wizard

The Graphic Conversion Wizard is a tool inside "ZebraNet Bridge Enterprise" suite. You can download and install it on PC. If you want to use .NET, the Link-OS SDK has the API for .NET to print graphics.

ZebraNetBridge.png

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments