Chrome Print dialogue not offering fit to page, landscape, other printing options ( I’m looking at you @OHRA )
Posted by jpluimers on 2021/12/08
Some sites manage to disable various printing options (including layout, so you cannot choose between landscape and portrait any more, or force landscape when portrait works better or vice versa).
Googling this got me into a web of things that didn’t help me (see links below), but those led me to this query [Wayback] chrome save as pdf layout missing portrait landscape – Google Search.
That returned a helpful result at [Archive.is/Wayback] Chrome Print dialogue not offering fit to page, landscape, other printing options – Google Chrome Community:
It’s about the extension [Archive.is] Stylus – Chrome Web Store
Redesign the web with Stylus, a user styles manager. Stylus allows you to easily install themes and skins for many popular sites.
I reconfigured the OHRA Mijn Zorg site to force re-enabling of layout by adding @page { size: auto !important; }
for https://mijn.ohrazv.nl/ (click the Save
button to save this change permanently):
This changed the printing options from
to (note it includes “more settings” too):
Links that did not help me
but that might be useful in the future when doing some web-development again to fix this server-side:
- [Wayback] css – Chrome printing website, missing layout options – Stack Overflow
- [Wayback] Bootstrap 4 CSS causing Chrome’s print “Layout” to disappear – Stack Overflow
- [Wayback] Problems printing in landscape · Issue #25629 · twbs/bootstrap · GitHub
- [Wayback] 92760 – “Layout” option disappears in Chrome’s new print preview – chromium
- [Wayback] Force Chrome DevTools Into Print Preview Mode (CSS Print Media Type)
- [Wayback] Chrome Print – Save as PDF – Print to One Page – Super User
–jeroen
PS: This works for https://opendata.cbs.nl/#/CBS/nl/dataset/81309NED/table as well.
Leave a Reply