We opted to disable the support for PDFs inside Firefox for compatibility 
reasons whenever it appeared since our help desk received a continual stream of 
tickets about PDFs not displaying correct.  In every case Adobe Reader rendered 
it correctly and since these were being created by other parties there was not 
much we could do.  We also hardened our Adobe Reader setup using the DoD STIG 
so it nice to have one set of settings to manage in GPO on the Windows side (we 
don't speak Mac or Linux).

From: Enterprise <[email protected]> On Behalf Of Gaudreau, 
Jonathan
Sent: Thursday, July 04, 2019 3:13 PM
To: [email protected]
Subject: [Mozilla Enterprise] PDF files are printed in the wrong orientation

Hello,

We have an issue with pdf file that are generated from an SAP Fiori app (web) 
that is always printing in the wrong orientation.
The pdf preview is handled by the native pdf handler of firefox and when we are 
previewing it, it shows in the right orientation (landscape) and in the right 
format (8 ½ x 11 inches or letter)
When we print it though, the orientation of the form changes to Portrait and 
the size to 4'' by 11''.

We have a set of policies that are set by GPO and some others in the 
configuration file but none defines any parameters for the pdf handler.
I have tried messing with some flags in about :config like 
pdfjs.enablePrintAutoRotate to false and true, the result is the same.

Also, I have found that Firefox keeps tracks of the printer's configuration by 
creating new preferences in about :config.
Ex :

So let's say I have a printer with a universal printer driver that it's 
orientation configuration is by default to Portrait, Firefox keeps track of 
this by creating an orientation preference for this printer so that the next 
time I print, these parameters are (I think) pass to the printer's driver.
I have changed the value of this preference and I was able to make it print in 
the landscape format.
Knowing that, I have configured this preferences so that none of the printer's 
configuration are set in Firefox :
[cid:[email protected]]

I have many questions regarding this issue :

1-      Can anyone recommend me a configuration for the pdf.js preferences in 
Firefox that would help me with my issue?

2-      Where can I find a documentation that would at least gives a little 
description of all the configurable preferences in Firefox ?

3-      Why printing in Chrome/Edge Chromium does not alterate the pdf form and 
come out the printer perfectly ?

Thank you for your help !
______________________________________

Jonathan Gaudreau | Analyste environnement bureautique
Section - Parc & Gestion des actifs (T.I)
Direction exécutive des technologies de l'information et innovation
Place Bonaventure, 800 de la Gauchetière Ouest, bureau 8440
(514) 350-0800 poste 81377
[http://www.stm.info/sites/default/files/media/doc/2019/signature2019.png]

_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to