Sorry I don't have sample code at this point, but I would look into the following .Net framework 2.0 methods for B64 encoding:
We are using the IBM standard CRC16 checksum. The png file in bytes should be your input into the base64 converter.
Some of our older printers do not have much memory in them, so you may want to consider updating to one with larger memory and image processing speed.
Hope this at least points you in the right direction. I'll see about getting some sample code together.
Thanks for your reply. I'll go ahead and look into these resources.
However, there is still the LZ77 algorithm for compressing the .PNG file. Do you know if there's a good C#/.NET solution for that?
I "think" that the DeflateString class is what you want in .NET 2.0 (it changes in the latest framework version). I haven't tested it, so I can't be sure. I'm concerned that the combination of the Huffman coding might change the result to something the printer won't recognize. I'll keep looking and see if I can put together a simple test/sample.
Hi Tim, The newly released .NET SDK should be of great help here. You can integrate the SDK fully to enable printing(GraphicsUtil.PrintImage), or just use the image conversion API (PrinterUtil.ConvertGraphic), if you have your own methods to communicate to the printers.