<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:616527113;
        mso-list-type:hybrid;
        mso-list-template-ids:963936964 -1157975746 202113049 202113051 202113039 202113049 202113051 202113039 202113049 202113051;}
@list l0:level1
        {mso-level-text:%1-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">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).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Enterprise <enterprise-bounces@mozilla.org> <b>
On Behalf Of </b>Gaudreau, Jonathan<br>
<b>Sent:</b> Thursday, July 04, 2019 3:13 PM<br>
<b>To:</b> enterprise@mozilla.org<br>
<b>Subject:</b> [Mozilla Enterprise] PDF files are printed in the wrong orientation<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR-CA">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">We have an issue with pdf file that are generated from an SAP Fiori app (web) that is always printing in the wrong orientation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">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)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">When we print it though, the orientation of the form changes to Portrait and the size to 4’’ by 11’’.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">I have tried messing with some flags in about :config like pdfjs.enablePrintAutoRotate to false and true, the result is the same.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">Also, I have found that Firefox keeps tracks of the printer’s configuration by creating new preferences in about :config.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">Ex :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">I have changed the value of this preference and I was able to make it print in the landscape format.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">Knowing that, I have configured this preferences so that none of the printer’s configuration are set in Firefox :<o:p></o:p></span></p>
<p class="MsoNormal"><img width="1053" height="119" style="width:10.9687in;height:1.2395in" id="Image_x0020_2" src="cid:image002.png@01D53B19.A432EE00" alt="cid:image002.png@01D53B19.A432EE00"><span lang="FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">I have many questions regarding this issue :<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="FR-CA"><span style="mso-list:Ignore">1-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="FR-CA">Can anyone recommend me a configuration for the pdf.js preferences in Firefox that would help me with my issue?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="FR-CA"><span style="mso-list:Ignore">2-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="FR-CA">Where can I find a documentation that would at least gives a little description of all the configurable preferences in Firefox ?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="FR-CA"><span style="mso-list:Ignore">3-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="FR-CA">Why printing in Chrome/Edge Chromium does not alterate the pdf form and come out the printer perfectly ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA">Thank you for your help ! <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:FR-CA">______________________________________</span><b><span lang="FR-CA" style="font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="FR-CA" style="font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span lang="FR-CA" style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR-CA">Jonathan Gaudreau</span></b><span lang="FR-CA" style="font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA">
 | </span><span lang="FR-CA" style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR-CA">Analyste environnement bureautique</span><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR-CA">Section - Parc & Gestion des actifs (T.I)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR-CA">Direction exécutive des technologies de l’information et innovation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:FR-CA">Place Bonaventure, 800 de la Gauchetière Ouest, bureau 8440<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:FR-CA">(514) 350-0800 poste 81377</span><span lang="FR-CA" style="font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA"><br>
</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#1F497D"><img width="462" height="99" style="width:4.8125in;height:1.0312in" id="Image_x0020_1" src="cid:image003.png@01D53B19.A432EE00" alt="http://www.stm.info/sites/default/files/media/doc/2019/signature2019.png"></span><span style="color:#1F497D;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
</div>
</body>
</html>