Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.