How do I make an HTML page print in landscape when the user selects 'print'?

后端 未结 4 868
后悔当初
后悔当初 2021-02-15 10:20

We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select land

4条回答
  •  情话喂你
    2021-02-15 11:09

    Possible in CSS2 (@page, looks like Opera only) and in CSS3 which will work nowhere. Sorry.

提交回复
热议问题