There is specific "Print CSS" that will help you. See for example https://www.smashingmagazine.com/2011/11/how-to-set-up-a-print-style-sheet/. More about media type is found at W3schools.