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

Why using this library makes printed PDF go out of A4 paper bounds? #25

Open
gitowiec opened this issue Mar 8, 2018 · 1 comment
Open

Comments

@gitowiec
Copy link

gitowiec commented Mar 8, 2018

I would like to use paper-css to style HTMLs invoices. It all perfectly looked on my monitor, I recalculated all units to mm (1mm == 3.78px). I print my PDFs using html-pdf node package which in turn uses phantomJS...
I don't know what to add more. There is no point of attaching CSS because it is simply as floats and divs with mm units set on them...

@ownadi
Copy link

ownadi commented Mar 12, 2019

I'd go with headless chrome instead of phantom. It's much more modern rendering engine and pretty easy to debug since the output should be the same as with cmd+p in your local browser.

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

2 participants