This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Firefox print to PDF now inserts huge numbers of blank pages in the pdf at random places

  • 3 fhreagra
  • 1 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó markwarner22

more options

For years, I have used print to pdf in Firefox to generate pdf files of long web pages. It always worked. But lately, I noticed that huge numbers of blank pages are inserted in the pdf file, seemingly at random. I looked at the HTML source, and could not see anything that obviously triggers the blank pages. For example, a web page that ought to print to about 35 pages generates a file of more than 600 pages, with most of them blank.

I can use Microsoft Edge as an alternative, but pdf files from that browser strip out all the color, and are nevertheless super huge, about ten times larger than the ones from Firefox. E.g. the file mentioned above, about 35 pages, would be about 1.3 MB from firefox, and 12 MB from Edge. So getting the file from Firefox would be nice.

Is there a reason why print to pdf is behaving in this strange way, and anything I can do about it?

For years, I have used print to pdf in Firefox to generate pdf files of long web pages. It always worked. But lately, I noticed that huge numbers of blank pages are inserted in the pdf file, seemingly at random. I looked at the HTML source, and could not see anything that obviously triggers the blank pages. For example, a web page that ought to print to about 35 pages generates a file of more than 600 pages, with most of them blank. I can use Microsoft Edge as an alternative, but pdf files from that browser strip out all the color, and are nevertheless super huge, about ten times larger than the ones from Firefox. E.g. the file mentioned above, about 35 pages, would be about 1.3 MB from firefox, and 12 MB from Edge. So getting the file from Firefox would be nice. Is there a reason why print to pdf is behaving in this strange way, and anything I can do about it?

All Replies (3)

more options

Can you link an example page that has this problem?

more options

Alas, the pages I am struggling are full renderings of proprietary online surveys, and I can't link to them. I tried a few other long web pages, and found that most work OK, but in a couple of cases, weird things happen that seem related to, but not identical with my original problem. For example,

https://www.facebook.com/WSUFF

Typical facebook page -- save to pdf as of just now gives seven mostly blank pages after the first, just repeating a small amount of material over and over. (For my survey renderings, the pages are pure blank, nothing repeated.)

https://www.nytimes.com/

New York Times home page, sometimes (not always) renders with a bunch of blank pages at the end, with the bottom of the page missing. Other problems in the rendering are visible, perhaps because the page is quite complex in layout. (In my case, nothing is omitted, and the layout is accurate other than the huge number of blank pages randomly placed.)

On the other hand, even quite long Wikipedia pages render nicely. I check every long page I come across, and will add other examples if I see any.

more options

Those are login users sites only - so unless there is another user with access to those site they won't be able to fully see what is happening. And sometimes printing from web site introduces blank pages to the print as well so unless they give you a pdf file to download and print or open in acrobat reader to print this could be result of the site format pdf isn't compatible with pdf printing. Also you have to consider this could be a site protection on there site to prevent someone from just downloading the site news? You should also contact their site support and how to print a pdf or article from their site and if there is a different printing format setup you need to setup to print the articles or pdf from their site.