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

Extra blank page printed after each page #6461

Closed
stuartkmarsh opened this issue Sep 20, 2015 · 9 comments
Closed

Extra blank page printed after each page #6461

stuartkmarsh opened this issue Sep 20, 2015 · 9 comments
Labels

Comments

@stuartkmarsh
Copy link

This is currently happening on Firefox 40.0.0, and latest version of Chrome on Windows.
The pdf displays normally in the viewer without any blank pages. It is only on printing that the extra pages appear.

@timvandermeij
Copy link
Contributor

Even with the latest viewer at https://mozilla.github.io/pdf.js/web/viewer.html? I recall this was fixed a while ago. There was an upstream regression in Chrome 45 that has also been fixed for newer versions.

@stuartkmarsh
Copy link
Author

We have a customised version of viewer.html, but we're using the latest js versions. Would that fix have been in the viewer.html file?

@timvandermeij
Copy link
Contributor

It should have been fixed in #5857. Could you try opening a file that gives you blank pages with https://mozilla.github.io/pdf.js/web/viewer.html (Open File button in the toolbar) to see if the issue is there too?

@veranz
Copy link

veranz commented Sep 28, 2015

Yes it's still occurring. I'm facing the same issue using the latest version of Chrome Version 45.0.2454.101 m and Version 45.0.2454.99 m. The confusing thing is that i cannot replicate the extra blank page issue using the demo https://mozilla.github.io/pdf.js/web/viewer.html and i can only do so in my project. All others browsers are working fine but somehow Chrome is not. What am i missing?

@timvandermeij
Copy link
Contributor

@veranz Maybe that is due to #6345.

@stuartkmarsh
Copy link
Author

To update you, we've tested the viewer at https://mozilla.github.io/pdf.js/web/viewer.html, using this file (https://www.dropbox.com/s/6lves3ge8s2u48g/bedcard.pdf?dl=0). It works perfectly in Chrome, and the extra margin issue (#6462 (comment)) is also fixed.

However, in Firefox both these issues are still present.

@stuartkmarsh
Copy link
Author

Hi, any update on this issue? Is it in the queue to be fixed/tested?

@ming300
Copy link

ming300 commented Mar 4, 2016

my way:
on viewer.js file

change 
var DEFAULT_SCALE_DELTA = 1.1;

to
var DEFAULT_SCALE_DELTA = 1;

@timvandermeij
Copy link
Contributor

Closing as fixed by #7005.

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

No branches or pull requests

4 participants