I'm trying to generate some html file and send it to the printer.
In order to print the html page I used the CMD
command print /D:PrinterName FilePath
as process in my code.
When I start my program the printer prints the html code and not the web page as I expected. I understand why it happens but how can I print the html file as web page with the web page style and not as html code?
The reason I chose to generate the data as html file is because I can be very flexible in terms of style, I can control the elements style create tables and etc. So solutions like "generate the data as txt" won't be helpful.
Thank you very much.