How to Print to Wireless Shared Printer

// Expert user has replied.
U Uday Kumar 1 year 6 months ago
40 5 0

I had a requirement in my project to print ZPL string to shared wireless printer is it possible to print using zebra Printer SDK

Please register or login to post a reply

5 Replies

S Steven Si

Yes, you can print ZPL labels on a Zebra printer through the Wi-Fi connection. Check out the Link-OS Multiplatform SDK, which supports a variety of printer connectivity.

U Uday Kumar

Thank you ssi1 for a reply through Link-OS Multiplatform SDK we can connect to the printers using the IP address and port for the wireless printer but I want to connect to the shared printer which has a name like \\PRINT_SERVER_NAME\ZDesigner QLn420 (ZPL).

S Steven Si

Unfortunately, the Link-OS Multiplatform SDK does not support the *shared printer*. The shared printer is typically for office printers. When sharing a Zebra thermal label printer, the print services will be in charge of connecting to the printer, as if it was a regular office printer. You can still print from Windows applications, such as Word, by selecting the shared thermal printer in the print menu. The printer driver on the Windows, such as the driver of ZDesigner QLn420 (ZPL), for example, will convert whatever it receives to image and send that image to the QLn420 to print. But you won't be able to use ZPL in this fashion, because the print services will treat everything as documents or images.

H Humberto Mockel

Hello Steven! I'm currently developing an application where I need to send ZPL commands to the printer. I succesfully discovered the printer via Direct USB and Diver Discovery in the host computer using the SDK (same as in the demo program), but I need to also use the printer from other computers in the network. I tried said approach of sharing the printer via the traditional Windows printer share method and installing the ZDesigner driver in the remote computer, wich gives access to the printer via the "\\\printer"name. As you said, windows apps can still print to the label printer (notepad as an example) but sending the ZPL commands via the method:


Doesn't work on the remote computers, only in the host computer. Is there an alternative to send ZPL commands from a remote computer, if traditional Windows sharing isn't supported on the SDK? My printer is a normal ZD220 with direct USB connection, no network option.

A Alfred Teixeira

Is your shared printer accessed via a printer driver? If so, you might want to take a look at the Developer Demo that accompanies the Link-OS Multiplatform SDK. Within the SDK, there is a namespace: DriverPrinterConnection, for use with printer drivers. The Developer Demo demonstrates how to use this to get a connection to a printer driver instance.

Can’t find what you’re looking for?