+ 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
4 Respostas
+ 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
0
I developed a chrome extension to address this issue linked here https://chromewebstore.google.com/detail/multiple-tab-to-pdf-print/anlocohdegpcbalhdigpjemapejhephi. It allows you to print multiple tabs at one time as separate files
2nd Dec 2024, 3:38 PM
Andrew Citera
Andrew Citera - avatar