-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print page and save to PDF #49
Labels
Comments
Hi @marios88 That's not implemented yet. Might be done quickly though |
Thanks for the quick reply @gsouf Looking forward to it! |
@tanasecosminromeo |
@marios88 that's available in version $page->pdf([
'landscape' => true, // default false
'printBackground' => true // default false
])->saveToFile('/tmp/file.pdf'); |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I read you have the issue in your TODO list
I am currently using the command line of chrome to generate PDFs but its very lacking in options compared to the puppeteer version. Since i dont have nodejs in my current env, i am stuck with it :(
My use case is, that i generate the HTML and feed it to chrome and grab the resulting file
Since this library supports sending direct commands to chrome,
has anyone successfully generated and saved PDFs?
Thank you for your time
The text was updated successfully, but these errors were encountered: