Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

print only first page

  • 6 Antworten
  • 19 haben dieses Problem
  • 13 Aufrufe
  • Letzte Antwort von federico.prato

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.

Ausgewählte Lösung

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.

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (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

Ausgewählte Lösung

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.