print only first page
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.
פתרון נבחר
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כל התגובות (6)
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.
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
- https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox
- http://kb.mozillazine.org/Problems_printing_web_pages
SAFE MODE
- https://support.mozilla.org/kb/Safe+Mode
- https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
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.
- https://support.mozilla.org/en-US/kb/export-firefox-bookmarks-to-backup-or-transfer
- https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
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 :
- https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
- http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
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.
פתרון נבחר
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.
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
The problem was indeed some display:flex around the page. Set display:block in printing stylesheets and profit.