What i try to do is to merge an XML file with data and a ZPL file template (created with Zebra Designer for developers) to create a ready-to-print file (or directly print it).
I was using XMLPrinter class, because i thought it would generate a print file combining these 2. However, i discovered it does not do that, it generates a file which has to be send to the printer, where the template is being stored (it only converts the XML). Problem is that we need to work with USB connected printers, so no easy updating of the templates in the printer itself.
So, we would like to central store (and update) the ZPL templates, and use these in our software to combine them locally with an XML file and generate a printfile (ZPL) that is ready to print.
Is that possible with the SDK ? Or should we process the ZPL template with our own to write parser ?