I study xamarin android with visual studio 2013. I wrote a small project for sale order. I have a problem. I want to print slip from xamarin android to zebra IMZ320. I don't know how to write code to print. Could you help me?
How to write code to print from android to Zebra IMZ 320 using xamarin with Visual Studio 2013// Expert user has replied. |
3 Replies
Hi Everyone,
Our newest Link-OS SDK now has a Xamarin Component for Android, iOS, and Forms development. Check it out.
Will keep everyone informed as we add new cross platform API's.
Robin
Hi Naing,
There are two things you need to be concerned with when it comes to printing to any printer. First is understanding what you want to print. Second is getting it to the printer.
Zebra offers many tools to help you figure out what data to send to the printer. It depends on your use case. The issue is that Android doesn't have printer drivers the same way that a PC does, so you, as a developer have to handle taking your document and formatting it for the printer. I recommend looking at Zebra Designer or one of our partner tools for this.
Zebra is just starting to beta test a new Xamarin library for Android to help with connectivity and image formatting to our printers. As this is in beta, we will want you to sign our beta agreement and join our ISV program. Please go to zebra.com/isv to sign up. Otherwise you can try to use the built in Xamarin networking libraries to open a TCP socket to the printer. I don't know much about how that works with Xamarin, but it should be straight forward.
I hope this will point you in the right direction to get you started.
Robin West
Solution Architect
Naing (and other interested parties),
I wanted to share a little more detail on how to join the ISV Partner Program. Please note this is for PartnersFirst, focused on Printers. Zebra is working to combine the PartnerEmpower (for mobile computers and scanners) and PartnersFirst programs into a unified program in early 2016.
If applying to Partner First to develop applications for our printer products, a company should follow the directions below:
Go to the following link: https://zebratechnologies.force.com/Partners/CommunitiesSelfReg.
Please create your log in credentials and once logged in click on Applicant Profile, New Partner Profile, record type of Application Specialist and then complete the form and submit for review.