It is necessary to set the landscape orientation when printing a page from the default browser. Print a page using the window.print () function. In Google’s open spaces, only the option with @media and @page directives is given.

@media print { @page {size:landscape; } } 

However, this option does not work in principle. There is a possibility that is not supported in css3 or browsers. Is there another way to set the default landscape orientation when printing? Thank.

  • Which browser does not work? I have Chromium at work, this code works quite well there. A more accurate piece of css code I can bring tomorrow - nolka