I am trying to convert an HTML page to multipage PDF Document. It is a very extensive document containing images, tables and styling.
We are pressing ⌃ Control+P to open the print preview and then saving it as PDF.
Are there any ways we can declare in code that we want to print as PDF and bypass the print preview screen to just download it to the desired location?