Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 3 trả lời
  • 1 gặp vấn đề này
  • 40 lượt xem
  • Trả lời mới nhất được viết bởi jscher2000

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.

Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (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.