Link-OS Multiplatform SDK Windows Java

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 Printers
usbPrinters = UsbDiscoverer.getZebraDriverPrinters();

// Check Only One Printer
if(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 Status
printerStatus = 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 Instance
zebraPrinterLinkOs = 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.

Leandro Perez G...
Is incredible that have

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?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Leandro, I'm sorry the ISV

Hi Leandro, I'm sorry the ISV team has gotten swamped and your post came in while our entire team was in Australia for the Appforum.  I'm afraid we didn't see this post come in.  We are going through our backlog and trying to answer as many posts as we can. 

Your question is complicated and we are needing to work with the SDK engineering team to figure out what could possibly be the issue.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Leandro, Thank you for

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Leandro Perez G...
Yes, please share with them

Yes, please share with them my information to track the response of this issue. I need solve this problem in the less time possible.

Thanks you.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments