Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

print only first page

  • 6 risposte
  • 19 hanno questo problema
  • 13 visualizzazioni
  • Ultima risposta di 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.

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (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

Soluzione scelta

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.