Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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.
Captures d’écran jointes

Toutes les réponses (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.