The `com.zebra.sdk.device.FileUtilLinkOs#getObjectFromPrinter(java.lang.String)` method incorrectly throws an exception when trying to retrieve an object with a filename longer than 8+3. I've done some debugging and it appears that this is caused by failing to send the last parameter of a `^HZO` command to enable long filename support. The code in question lives in `com.zebra.sdk.util.internal.ZPLUtilities#getHZO(...)`.
Hi David,
I just ran a simple test with the Link-OS SDK on an Android phone. The getObjectFromPrinter worked just fine. Here is the code snippet. The filename here is longer than 8+3.
Not sure why you got an exception. Do you have the code snippet to share?
Regards,
Points: 0
You voted ‘up’
Log in to post comments