Can code do: HTML string to PDF- and then printing?

I’m working on a billing system taht saves bills in HTML presentations.
I want to print all generated bills in a single push of a button.

Is there a way, through code (without user intervention), to take an HTML string, convert it to PDF and then send it to a desgnated printing?

Can this be done?

Thanks

Dear eehh,

Thank you for considering Aspose.

This is possible but only simple HTML is supported. Please refer to Converting Html to Pdf and test your HTML.