I am working currently on a Xamarin Forms Project to print to a Bixolon SRP-350plus III Bluetooth Printer for which I am using an application provided by the vendor.
I have successfully implemented the printer running and and printing.
I have also implemented passing in HTML Code and convert it to normal text (string) using Regex class.
My main problem is when printing, if the HTML Code had bold tag then the text should also be turned Bold after conversion or if tag is hit in HTML Code then the output should be italic text as well.
In other words my formatting of text is not achieved fully.
If anyone knows how to do that meaning converting HTML to String correctly (with full formatting as mentioned above), or HTML To PDF, creating reports or any solution to get the desired result, will be appreciated. i.e. the text should be formatted according to HTML Tags.
The project is already running and printing on the printer just need help with the formatting of output and I just concern the UWP (Universal Windows Project) Part of the application for now which i need to implement as well as the iOS.