syhunt / sandcat

An open-source, pentest and developer-oriented web browser, using the power of Lua

Home Page:http://www.syhunt.com/sandcat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Print a web page to PDF

aryajur opened this issue · comments

I am using Lua and an trying to print a webpage to PDF. Or any other way to convert it to pdf. I did see the screenshot but that only takes the visible portion of the page. A PDF conversion through print or otherwise would be tremendously useful. I do see print option in the right click menu but don't see it anywhere else in the API. Is there a way to print a web page to PDF directly?

Dear @aryajur, we just released version 7.0. Make sure to upgrade and check it out. It is now possible to print the page to PDF

Thank you for the response. What is the API call to do the print?