+ 3

How to print multiple tabs?

I have opened several webpages of my interest into the tabs of chrome browser using a python program. Now I like to save these pages as pdf files using the printer function of the browser. PDF is my default printer, so I wanted to know if there are any modules that I can use to invoke the printer driver and save the open tabs of the default browser. I will be very thankful for any suggestion or direction to move forward.

26th Aug 2018, 7:15 AM
Das
Das - avatar
3 Answers
+ 10
You can use pdfkit (with wkhtmltopdf) for converting a HTML file to PDF...
26th Aug 2018, 11:42 AM
Nikhil
Nikhil - avatar
+ 5
Maybe you could use Python Selenium to take screenshots of the page. That's my only idea.
26th Aug 2018, 11:38 AM
Ahri Fox
Ahri Fox - avatar
0
Print All Sheets at One Go Click the File tab. Click on the Print option. On the Print page, click on the Print setting drop-down. Click on Print Entire Workbook. Click on Print. Greetings, Peter
14th Oct 2022, 7:06 AM
Peter