搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How can can make Firefox to detect the orientation of my report while printing.

more options

hi, I am using telerik reporting for reporting purposes on in my angular project. I have created two reports, one of them is in portrait mode and other is in landscape mode. Now , when I press print button , and print preview opens up, it is defaulted to portrait mode even if the report that I am printing is designed in landscape mode.

It can be seen in the following pictures. https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2021-03-01-07-48-32-b4df57.png https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2021-03-01-07-50-12-54a6d9.png

This might create confusion for the users. This is not desirable.

Is there a way to make it so that the print preview opens in the orientation in which my report is designed.

Note: It is working perfectly in google chrome.

hi, I am using telerik reporting for reporting purposes on in my angular project. I have created two reports, one of them is in portrait mode and other is in landscape mode. Now , when I press print button , and print preview opens up, it is defaulted to portrait mode even if the report that I am printing is designed in landscape mode. It can be seen in the following pictures. https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2021-03-01-07-48-32-b4df57.png https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2021-03-01-07-50-12-54a6d9.png This might create confusion for the users. This is not desirable. Is there a way to make it so that the print preview opens in the orientation in which my report is designed. Note: It is working perfectly in google chrome.
已附加屏幕截图

所有回复 (3)

more options

Dear aalyimran, I refer you to the link https://support.mozilla.org/en-US/kb/how-print-web-pages-firefox.

see if the problem goes away.

more options

Dear user3585702,

I have already visited the article that you recommended but this does not solve my problem. My problem is that I want print preview to open in the orientation that my report is designed in. This is working perfectly in Google chrome but on Firefox, print preview opens in the portrait mode by default or if I set it to landscape it begins to open in the landscape next time. Hope i have clarified my scenario this time.

more options

Is the report a web page or a PDF?

For web pages, Chrome allows specifying the page size and orientation in an @page style rule (https://developer.mozilla.org/docs/Web/CSS/@page/size) but Firefox does not support that yet, so the user will need to handle the situation themselves.

For PDFs, I don't think the built-in viewer can auto-detect portrait/landscape.

So I guess I do not have good news, sorry.