I am new to electron. I was trying out the print to PDF feature.
I have couple of questions on this.
My input is html and the content is huge.
- When I set print to PDF, it created multiple pages. How can I shrink it to one page PDF? i.e. can I use any API to say shrink the entire content to one PDF page?
- If html has table, my content is getting cut (only the initial few columns of table appear in the PDF). Can you please let me know what settings I can try so that it doesn’t get cut?
- I also want to output to PNG. Any code pointers for this?
Thank you so much in advance for your inputs.