ZMotif GetPrinters function does not return printers on the network


Audience
Tags

When calling the ZMotif job.GetPrinters function, when it returns, there are not printers and no error code.
This is true for the Demo application as well.

Submitted by Manuel Caicedo-... on November 10, 2021 Permalink

Hi,

Please, could you specify the following items of your environment 

Card Printer model and firmware version

SDK used and link from where the SDK was downloaded

IDE and version used 

Thanks,

MC

 

Submitted by aulloa@ghsloya… on November 11, 2021 Permalink

Both host and remote machines are Windows 10
ZMotif SDKs 3.6.0.55 – the latest one available through the Zebra Website
- ZXP Series 7 Driver dz7cg-03-02-00 (released 31-MAR-2016):
https://www.zebra.com/us/en/support-downloads/printers/card/zxp-series-…
The card printer is the Zebra ZMotif Series Printer Emulator Version 5.00.36
The firmware for the emulator is FZ8ME.00.27.00
Our client is using a ZXP 7 Series Card printer
Our IDE is Visual Studio v2010

In reply to by Manuel Caicedo-...

Submitted by Manuel Caicedo-... on November 12, 2021 Permalink

Hi,

Job.GetPrinters has reduced capacity to discover printers in the network, normally it is associated to smaller subnet domain, in these cases, the network should allow to discover devices connected (admin privileges), and  ZXP 7 printer shares same subnet with application.

We suggest to use another market option to discover printers in your network as it is a standard process that does not need to involve Zebra SDK. 

Some suggestions below:

https://stackoverflow.com/questions/45232547/identify-connected-network…

https://www.dreamincode.net/forums/topic/118377-show-ip-address-for-all…

https://stackoverflow.com/questions/2354435/how-to-get-the-list-of-all-…

https://stackoverflow.com/questions/1018001/is-there-a-net-way-to-enume…

https://social.msdn.microsoft.com/Forums/en-US/73cf527c-924e-45b7-95be-…

https://codesnippets.fesslersoft.de/how-to-list-all-printers-of-system-…

https://www.dotnetcurry.com/ShowArticle.aspx?ID=148

Thanks,

MC