Once we display the PDF in the viewer, how can the user to print it in a UWP app?
2 Answers, 1 is accepted
0
Accepted
Lance | Senior Manager Technical Support
Telerik team
answered on 16 Dec 2020, 05:14 PM
Hello Neil,
You must implement this yourself on the native platform using a Dependency Service. Specifically, you would implement the UWP Printing APIs in a DependencyService.
Once you're done with that tutorial and understand where to put the files (or you are already familiar with DependencyServices) you can review the code in this gist to implement your own service Xamarin.Forms PDF Printing Dependency Service (github.com)
Important - Note that code is a head start, compiled from different open-source sources from forums and StackOverflow and is not intended for production. You should do thorough testing before even considering it ready for your app users.
I have already upvoted it on your behalf. If you would like to be notified of status changes, please click the "Follow" button.
Further Assistance
Telerik Support - If you have any trouble with the Telerik-specific APIs, please open a Support Ticket here https://www.telerik.com/account/support-tickets (you have a Priority Support license!)
Custom Development Help - If you would like help writing out a custom dependency service, the Professional Services team can assist, contact them here https://www.progress.com/services/outsourcing
I hope this helps!
Regards,
Lance | Manager Technical Support
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.