Hi, I'm just checking a few of the easy issues- Are you finding the printer via discovery or using the IP address directly? Can you find the printer via the iOS settings?
I connect by IP address directly.
I am follow the sample code:
So first I create the connection:
IConnection connection = ConnectionBuilder.Current.Build("TCP:192.168.1.100:9100");
and then when I call:
It does not connect and give me no response.
The same code works perfectly with android but not iOS. And it gives no exception. Program not crash. Just not response at all.
any updates? Can someone help me?
Hi Tianyu, Please try to see if you have this issue using the full sample code we have available Link-OS Multiplatform SDK | Zebra or Basic Xamarin Print Example . The only time I've seen this is when the iPod or other device is not actually connected to a network. Usually if the printer is not connected to the network, the sdk will throw an exception. It's usually only when the device is not actually even trying to communicate that the SDK can't get an exception. The other possibility I know of is the open() command can sometimes take a few full seconds. Please make sure all communications to the printer are on a separate thread as the UI will not handle this long running function well.