Skip to content
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

Page Dimensions #16

Open
DavidMoritz opened this issue Dec 16, 2018 · 2 comments
Open

Page Dimensions #16

DavidMoritz opened this issue Dec 16, 2018 · 2 comments

Comments

@DavidMoritz
Copy link

It creates a PDF that is 7.5x11.5 inches. This only became a problem when we started trying to use this tool to create printable sticker-labels. There is no good way to match it up with the labels because the pages are different. Please let me know what can be done to fix it. Thanks!

@AdamBrodzinski
Copy link

You can either directly add in the -s command into the wkhtmltopdf.js file here:
'wkhtmltopdf -s letter ${options.join(" ")} - - | cat' or you could pass in an options array into the event params and pass that into index.html. The solution above works for me but if you need it to be customizable that's prob a better option

@dorukgunes
Copy link
Contributor

@DavidMoritz is there any updates on this issue, did you have time to try what @AdamBrodzinski suggested?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants