We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

print only first page

more options

When printing a page with many long tables, FF prints only the first page. I already removed all of my add-ons and followed the printing troubleshooting.

when in emulate print mode (shift + f2, media emulate print) everything works fine, but i get the same unwanted result if i run a print preview. Also happens if i switch the orientation to landscape.

thanks for helping me out.

When printing a page with many long tables, FF prints only the first page. I already removed all of my add-ons and followed the printing troubleshooting. when in emulate print mode (shift + f2, media emulate print) everything works fine, but i get the same unwanted result if i run a print preview. Also happens if i switch the orientation to landscape. thanks for helping me out.

Chosen solution

federico.prato said

when in emulate print mode (shift + f2, media emulate print) everything works fine, but i get the same unwanted result if i run a print preview.

There are some combinations of style rules that Firefox handles perfectly fine when it doesn't need to break pages, but which do not break correctly at print time. I wish I could give you a list, but that would require hours of research.

The ones that leap to mind:

  • display: flex
  • display: inline-block on tall elements
  • display: table on elements that are not a table
  • display: table-cell on elements that are not a td
  • overflow/overflow-y rules

Also, Firefox cannot paginate the fieldset tag.

Read this answer in context 👍 0

All Replies (6)

more options

What kinda printer are you printing to and did you load the print drivers? Sites don't always print what you see and some sites block printing their site this is something FF can't fix or do anything about. Print Preview is just that a preview but no guarantee that's how it will look like. So unless you can give the link for others to verify what your saying then this would be a site issue with printing and there nothing from FF that it can do.

more options

mhm.. Sorry but then other browsers' print preview show me the whole content just because they work different? I'll try real printing then, let's see.

Unfortunately i cannot give you a link as this is a site i'm still working on :).

thanks

more options

SAFE MODE

In Firefox Safe mode these changes are effective:

  • all extensions are disabled (about:addons)
  • default theme is used (no persona)
  • userChrome.css and userContent.css are ignored (chrome folder)
  • default toolbar layout is used (file: localstore-safe.rdf)
  • Javascript JIT compilers are disabled (prefs: javascript.options.*jit)
  • hardware acceleration is disabled (Options > Advanced > General)
  • plugins are not affected
  • preferences are not affected

TEST if works fine then issue is Extensions or is the Profile

Please Refresh but do this 1st: Delete your Cookies and Cache and TEST.

then

TEST....... If no issues then Extensions which need to be added back in 1 at a time and tested ..... Or it is your Profile : Make a new one and test ...:

If is your Profile :

Note: Any customization will revert back to default, you will also need to reinstall Extensions.

Please let us know if this solved your issue or if need further assistance.

more options

Chosen Solution

federico.prato said

when in emulate print mode (shift + f2, media emulate print) everything works fine, but i get the same unwanted result if i run a print preview.

There are some combinations of style rules that Firefox handles perfectly fine when it doesn't need to break pages, but which do not break correctly at print time. I wish I could give you a list, but that would require hours of research.

The ones that leap to mind:

  • display: flex
  • display: inline-block on tall elements
  • display: table on elements that are not a table
  • display: table-cell on elements that are not a td
  • overflow/overflow-y rules

Also, Firefox cannot paginate the fieldset tag.

more options

tried printing for real when in safe mode and had the same problem.

I guess i'll have to look for CSS rules then.

thanks

more options

The problem was indeed some display:flex around the page. Set display:block in printing stylesheets and profit.