I'm not talking of the Print Preview - I mean to view the webpage in Firefox "normally", with access to e.g. the F12 Developer Tools, but I want the layout to be the same as if I was printing the page out.
4 Answers
There is now (June 2019) a nice button in the devtools. See this discussion mentioned in the answer by @interDist above.
- 4,816
- 837
From https://developer.mozilla.org/pl/docs/Tools/GCLI : Launch the Developer Toolbar with Shift+F2, then type: media emulate print
Somehow it doesn't solve my problem though, this what I see after this command differs from the Print Preview and from what is printed out... :(
- 1,053
As of September 2018, no, there is no such option. The Developer Toolbar, mentioned by @gaazkam, was removed in Firefox 62 in September 2018. There is no replacement for the media emulate command in DevTools, although it may be given some priority now that the command line interface is gone. Discussion is also here: https://discourse.mozilla.org/t/how-to-media-emulate-print-without-developer-toolbar-gcli/30975.
- 221
This can be done using the developer tools by pressing the 'Toggle print media simulation for the page' button in the styles panel.

- 201
