I'm developing a small app to print labels on Zebra printers, and I used ZPL language and the Zebra Printer SDK package for that.
My app is fully functional with ZPL that I tested on a TLP 2824 Plus, but I discovered the actual printer that will be used is a TLP 2844 that only use EPL language (before any question, the TLP 2824 is defective, so just good for tests).
My printing methods are based on this : https://github.com/Zebra/devtalks/blob/121317-LinkOS_CSharp/BasicWpfPrintApp/MainWindow.xaml.cs
My methods check language and only print ZPL it seems, so I'll have to modify them, but my main problem is switching my string from ZPL to EPL.
Here's my ZPL code:
^XA
^CFA,20
^FB456,1,0,C^FO0,50^FDAR_Ref^FS
^FB252,1,0,C^FO0,80^FDDate^FS
^FB660,1,0,C^FO0,80^FDPrix^FS
^FB456,1,0,C^FO0,138^FDAR_Ref^FS
^FB252,1,0,C^FO0,168^FDDate^FS
^FB660,1,0,C^FO0,168^FDPrix^FS
^FB456,1,0,C^FO0,226^FDAR_Ref^FS
^FB252,1,0,C^FO0,256^FDDate^FS
^FB660,1,0,C^FO0,256^FDPrix^FS
^FB456,1,0,C^FO0,314^FDAR_Ref^FS
^FB252,1,0,C^FO0,344^FDDate^FS
^FB660,1,0,C^FO0,344^FDPrix^FS
^CFA,15
^XZ
Here's the viewer link to see the result.
EPL seems similar to ZPL and I suppose the printing method must be similar, that's why I'm searching to write the same sort of string that the one above and adapt my methods.
Thank you for reading!