Search code examples
windows-mobilezebra-printerszpl

Zebra CPCL printer issue with non-english unicode characters


I am trying to print some labels using the Citizen printer in .NET enviroment. In order to do that i use a P30CPCl.dll which is provided by the manufacturer along with a relevant manual which is pretty much identical to the one found here : ftp://ftp.maxatec-europe.com/Maxatec/LK-P/LK-P41/Driver/Mobile%20Driver/English/Manuals/LK-P41(CPCL)%20Program%20Manual_English.pdf , since apparently many or all CPCL printers use the same .dll.

I have no problem printing english characters, but when it comes to greek characters i get "????? ???" instead. The function's signature does not seem to support a codepage :

public static extern Int32 CPCLPrintText(Int32 Rotation, Int32 FontType, Int32 FontSize, string PrintX, string PrintY, string Data, Int32 count);

Any ideas what I can do to print non-latin characters?


Solution

  • I contacted Citizen customer support and they told me that "CMP-30 supports ASCII code table up to 7f, so Greek characters will not be supported in CPCL mode." So the only way to do it is via ESC/POS.. tough luck