window.print() is printing vertically for Google Chrome and Horizontally for Internetexplorer [Resolved]

Posted by Kasani007 under JavaScript on 11/16/2016 | Points: 10 | Views : 3209 | Status : [Member] | Replies : 1
window.print() is printing vertically for Google Chrome and Horizontally for Internetexplorer

printing portrait prints vertically for google chrome and printing landscape prints horizontally with small size text for google chrome.
how can i make window.print to print horizontally from google chrome




Responses

Posted by: Rajnilari2015 on: 11/16/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
Try
@media print and (orientation:landscape) 


--
Thanks & Regards,
RNA Team

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response