-
Notifications
You must be signed in to change notification settings - Fork 176
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
Set paper dimensions of exported PDF #210
Labels
Comments
Oh, I just found the option:
What numbers would you recommend to use for traditional A4 prints? |
We could add a https://github.com/puppeteer/puppeteer/blob/v3.0.4/docs/api.md#pagepdfoptions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
While I can set the dimensions of exported screenshots, I seem not to be able to do this for the exported PDF.
By default, the dimensions of the PDF seems to be not the default 4:3 that I need for printing on paper, but it seems to be some widescreen format, which leads to some ugly display problems. For example, while the TOC looks nice in the exported screenshot...
...it looks mis-positioned (too low) in the PDF:
How can I fix this, so the PDF uses a 4:3 dimension?
The text was updated successfully, but these errors were encountered: