A Perspective on Printing in 2022/2024
Looking into this the subject of having this ability for a website is pretty much a moot point. Most Internet users do not need to print webpages as they have alternate devices to view web content and really don't need to revert to wasting paper.
In fact there are only a few cases where a user has to print something and these are pretty exclusive. These situations are often where a permanent record is needed, such as financial filing (although this is becoming a far less common requirement) and situations where a poster of flyer is required. In the last two cases the use of PDF's and .doc type documents are far more practical.
If you search for information on media queries to allow the printing of webpages you will not find much. Looking at how my web pages print it would seem that this has been taken care of with the W3C.css framework.
Whether this is by design or coincidence there is really little that needs to be added when it comes to printing my pages. One of the biggest issues that I have seen in the past is the unnecessary printing of menus. If anything if I were to pursue this futher I might want to suppress the "Top" button, some of the top menu content and the "links" section. "Links" on a printed page are generally of little use as all you see are the descriptions and not the underlying URLs.
The article by sitepoint describes other reasons for printing and how you can construct a media query to allow these situations. It would appear that most of this is taken care of by the W3.css framework.
Without looking at framework in more detail (there is a lot of code) I cannot say. There is a limited return on investment here. On a quick perusal it would seem that most of this is taken care of by media-width @media rule.
There is a lot of "override" in the W3.css framework.