marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 545 forks source link

Is there a way, that I can set the generated pdf file to print first page only? #622

Open bemiriq opened 3 years ago

bemiriq commented 3 years ago

I am using html_pdf for a project and it automatically prints out the sheet but it will always have one extra blank page as well. Is there a way to set print only first page using hmtl-pdf? I just want to eliminate the extra blank page issue.

arrafiialfa commented 1 year ago

Hi, I am also experiencing the same issue. Have you solved it yet ?