Link-OS Multiplatform SDK Windows Java

L Leandro Perez Guatibonza 3 years 7 months ago
110 2 0

Hello,
 
My name is Leandro Perez. I'm Hardware Development Leader in APES. I am developing a software in Java language that print RFID tags in the Zebra ZD500R Printer through USB interface. I use the Link-OS Multiplatform SDK for PC (Windows 7 64-bit), using the ZSDK_API.jar. I have explored the Java API and all examples to interact with the printer. I'm having good results in the print, but I have some troubles in the connection with the printer and the time of the some processes:
1. I use the USB connection. In the moment of search and create the Zebra Printer Link OS connection, this process takes about 20 seconds!!!
 
// Detect USB PrintersusbPrinters = UsbDiscoverer.getZebraDriverPrinters();// Check Only One Printerif(usbPrinters.length == 1) {
 
   // Obtain Discovered Printer Driver   discoveredPrinterDriver = usbPrinters[0];   // Obtain Connection with Printer   connection = new DriverPrinterConnection(discoveredPrinterDriver.printerName);      // Check if Connection is Active   if(!connection.isConnected()) {
 
   // Open Connection with Printer   connection.open();   // Obtain Zebra Printer Link OS Instance   zebraPrinterLinkOs = ZebraPrinterFactory.getLinkOsPrinter(connection);   }
}
 
2. My program send many parameters to printer, the process take 8 seconds by each one!!! I send 13 parameters to the printer, then the configuration process takes about 2 minutes!!!
 
zebraPrinterLinkOs.setSetting("rfid.reader_1.power.read", "30");
 
3. Before that send the data printer, I check the current status of the printer. It takes about 35 seconds to obtain the status!!!
 
// Obtain Printer StatusprinterStatus = zebraPrinterLinkOs.getCurrentStatus();
 
4. The most important problem is the fail in the printer connection. In the moment to obtain the Zebra Printer Link OS Instance, sometimes it generates the "Error Writing to connection". The only way to that this error disappered is restart Windows
 
31/07/2017 09:28:10.556 - [SEVERE] Error Connect to Printer. Error writing to connection: ZDesigner ZD500R-203dpi ZPL (Copiar 1)
 
// Obtain Zebra Printer Link OS InstancezebraPrinterLinkOs = ZebraPrinterFactory.getLinkOsPrinter(connection)
 
I need find a solution for these problems, the times of interact with the printer are very bigger!! and the problem with the connection is the most important because the client don't must restart Windows.
 
I hope find alternatives to these situations.
 
Thanks you.

Please Register or Login to post a reply

2 Replies

E Efkan YILMAZ

Hi Leandro, Thank you for letting us know about this issue.  We have seen it on our side as well.  Do you have any problems with us pushing this info into tech support in order to better track it?  I will have to share your contact info and they may contact you directly.
Let me know.
Robin

L Leandro Perez Guatibonza

Is incredible that have passed almost one month and I don't have support about problems with LinkOS in Windows. Where is the Zebra support? Nobody more have theses problems?

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