How do I set for portrait or landscape mode in default?
I don't believe there is a way to do that. The settings in the print preview dialog are determined by your browser, and there is no standard way that I know of to set them across all browsers. If you know of such a mechanism please let me know!
@manfye Did you resolve this problem?
I found a way to force the orientation. Inside my refed component I added this block
<style type="text/css" media="print">{"\
@page {\ size: landscape;\ }\
"}</style>
Thanks for posting that @bashleigh!
No problem!
Most helpful comment
I found a way to force the orientation. Inside my refed component I added this block