The print media type targets paged material and documents shown in print preview. Put print-only rules inside @media print { … }.
Typical uses: hide navigation and ads, set paper-friendly fonts and colors, and control page breaks. Screen layout stays under screen (or the default).
Standard-track.
Baseline widely available for decades. Not deprecated, experimental, or non-standard.
Deprecated types MQ4
Do not use tty, tv, projection, handheld, braille, embossed, or aural—deprecated in Media Queries Level 4.
Syntax
CSS Syntax
syntax.css
@media print{ … }
You can also load a separate sheet with <link rel="stylesheet" media="print" href="print.css">.
Patterns
Common Patterns
print is a media type (no feature values). These are the patterns students use most:
Pair with overflow-block ideas and page margins via @page when you need paper size control.
type
Type vs feature
print names the medium. Features like orientation refine it: @media print and (orientation: landscape).
Compatibility
Browser Support
print is a browser CSS media type for paged output and print preview. Node.js, Deno, and Bun do not evaluate it.
✓ Baseline · Widely available for decades
print
Supported in Chrome 1+, Firefox 1+, Safari 1.3+, Edge 12+, Opera 9.2+, IE 6+. Universal for production print stylesheets.
99%Global support
Google Chrome1+
Full support
Mozilla Firefox1+
Full support
Apple Safari1.3+
Full support
Microsoft Edge12+
Full support
Opera9.2+
Full support
Samsung Internet1+
Full support
Internet Explorer6+
Full support
printUniversally supported
Bottom line: Safe for every production site. Always verify layout in the browser print preview.
Remember
Key Takeaways
Role:print styles paged output and print preview—not everyday screen UI.
Common use: hide nav/ads, set readable type, append link URLs.
vs screen: put paper rules in print; keep interactive layout under screen.
Pitfall: never ship without checking print preview.
One line: use @media print to strip chrome and tune type for paper—test with Ctrl+P.
Frequently Asked Questions
It targets paged output. Rules inside @media print apply when the document is printed or opened in print preview (Ctrl+P / Cmd+P).
print is a media type (the output medium). Features like width or pointer describe device capabilities. You can combine them: @media print and (orientation: landscape).
Hide navigation, sidebars, ads, buttons, and cookie banners. Keep the main article, headings, and essential data.
Open print preview with Ctrl+P or Cmd+P. The preview uses @media print. You can also use matchMedia("print") in JavaScript.
No. Media Queries Level 4 deprecated tty, tv, projection, handheld, braille, embossed, and aural. Prefer print, screen, and all.
All major browsers for decades: Chrome 1+, Firefox 1+, Safari 1.3+, Edge 12+, IE 6+. It is a browser CSS media type, not a Node.js API.