Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Print -> empty pages are added between pages #116

Open
highnze opened this issue Mar 16, 2022 · 1 comment
Open

Print -> empty pages are added between pages #116

highnze opened this issue Mar 16, 2022 · 1 comment

Comments

@highnze
Copy link

highnze commented Mar 16, 2022

Problem
If you press print (and the printing-window opens), there are betwen every page extra added empty pages. The problem is not there in the Print-View.
e.g. = Print-> 712 pages | Print-View -> 356 pages

Example
https://alexaalleinzuhaus.de/publikation/
(Does not work so nice in Firefox or Safari - https://github.com/font-face is not loading, but that is another problem)

Desktop

macOS 11.6.4
Chorme Version 99.0.4844.74
bindery.js version 2.3.6

Thank you for the help :)

@evnbr
Copy link
Owner

evnbr commented Mar 19, 2022

Hi Lisa, unfortunately I don't have a great answer here. Bindery relies on the browser's PDF generation, and it looks like the specific paper size you chose (210mm) is not working correctly for me either.

I'm not entirely sure why— maybe it's being rounded to pixels in an inconsistent way.

If you are not super attached to that size, I would try adjusting the value a bit and seeing if you get better results. I tried tweaking the height 209mm, and the same issue did not appear,

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

No branches or pull requests

2 participants