ZebraFactory.GetInstance() Failing

Trying to use GetInstance() to get an instance of the Printer so I can call getCurrentStatus()is returning the error -- "Unable to determine printer language". Printing itself is working just fine using ZPL.


Is ~HS easier/more reliable?


Any ideas?

Anonymous (not verified)
Hi Adam,My apologies for the

Hi Adam,

My apologies for the delay. Are you connecting via Bluetooth? What language are you programming in?


Thank you,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Adam,Are you connecting

Hi Adam,

Are you connecting via Bluetooth? What language are you programming in? Objective-C?

When using the newest version of the Link-OS™ Multiplatform SDK for iOS (1.3), a few developers have reported being unable to print images or text and/or receiving an “Unable to determine printer language” message.  This could be the issue that you are experiencing, please change the timeout on the MFi Bluetooth connection method setTimeToWaitAfterWriteInMilliseconds, from 10ms to a larger value like 30ms or higher to resolve the issue. See this article, for an example of how to make this change.


Please let me know if making that change resolves the issue, and if you can let me know your connection type and programming language that would be helpful.

Thank you,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Adam Hill
Sorry for not getting back to

Sorry for not getting back to you. Printing got taken off of MVP the last few sprints.

I am connecting over Bluetooth and I am programming in C# with the Xamarin wrapper provided by Chris Misztur in these forums.

Printing is actually working great. I was just trying to get a status before printing to alert to user to any problems (out of paper, not connected, etc...)

If it is a simple timeout error, thats awesomely easy to fix. I will report back if this fixes it for me. Thanks for the suggestion!

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Adam,No worries. Let me know

Adam,

No worries. Let me know how it goes!

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Adam,Just wanted to see if

Hi Adam,

Just wanted to see if you had a chance to test that timeout and if it helped?

Thanks,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments