¿Is there any way to know  if the printer paired to a device has zpl support using Zebra SDK?

E Efkan YILMAZ 3 years 7 months ago
3 1 0

We are using two models; iMZ320 and MZ320. Only iMZ320 supports zpl. If the printer paired has zpl support We'd like to use some features of zpl like sending and printing an image.
 
The app is installed on a EP10 windows mobile 6.5 device. We are using C# and Zebra SDK to connect printer by bluetooth.
 
Thanks,
Ricardo

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

Yes,
The SDK has a API called SGD.  You can use that to call the setting "device.languages" and set to "zpl" .  If the response doesn't include "zpl" in the response, it does not handle ZPL.  I think the response on iMZ is 'hybrid_xml_zpl' but it definitely has zpl in it. The code would look like this:
SGD.SET("device.languages", "zpl", printerConnection);
string language = SGD.GET("device.languages", printerConnection);
if (language.Contains("zpl"))
{
// printer is set to zpl
}
else
{
// printer is not capable of zpl
}

CONTACT
Can’t find what you’re looking for?