Maybe someone can help me with my Zebra ZPL problem. The ZPL manual doesn't really help me. I want to transfer binary (with ZPL B64) and compressed binary (with ZPL Z64) image data to the printer.
I was able to find the following information:
- with B64 the data is encoded in Base64 format.
- with Z64 the data is first compressed with LZ77 and then encoded with Base64.
- A CRC digit is appended to both encodings. (must probably be CRC-16) But I don't get a valid CRC check digit calculated!
Has any of you done that yet?
- With which parameters is the LZ77 algorithm used?
- Which CRC is used and with which start polynomial?
- Maybe someone even has a C# code for this problem?
Thank you very much.