<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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@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:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@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:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@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:0cm;}
ul
        {margin-bottom:0cm;}
--></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="FR-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></p>
<p class="MsoNormal">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></p>
<p class="MsoNormal">When we print it though, the orientation of the form changes to Portrait and the size to 4’’ by 11’’.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></p>
<p class="MsoNormal">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></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, I have found that Firefox keeps tracks of the printer’s configuration by creating new preferences in about :config.
<o:p></o:p></p>
<p class="MsoNormal">Ex :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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></p>
<p class="MsoNormal">I have changed the value of this preference and I was able to make it print in the landscape format.<o:p></o:p></p>
<p class="MsoNormal">Knowing that, I have configured this preferences so that none of the printer’s configuration are set in Firefox :<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR-CA"><img width="1053" height="119" style="width:10.9687in;height:1.2395in" id="Image_x0020_2" src="cid:image002.png@01D53283.69EEF430"></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have many questions regarding this issue :<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">1-<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>Can anyone recommend me a configuration for the pdf.js preferences in Firefox that would help me with my issue?<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">2-<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>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></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">3-<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>Why printing in Chrome/Edge Chromium does not alterate the pdf form and come out the printer perfectly ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you for your help ! <o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:FR-CA">______________________________________</span><b><span 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 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 style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR-CA">Jonathan Gaudreau</span></b><span style="font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA"> |
</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:FR-CA">Analyste environnement bureautique</span><span style="font-family:"Arial",sans-serif;color:#4F5150;mso-fareast-language:FR-CA"><br>
<br>
</span><span 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 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 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 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 style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:FR-CA">(514) 350-0800 poste 81377</span><span 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;mso-fareast-language:FR-CA"><img width="462" height="99" style="width:4.8125in;height:1.0312in" id="Image_x0020_1" src="cid:image001.png@01D53280.75FA2C70" alt="http://www.stm.info/sites/default/files/media/doc/2019/signature2019.png"></span><span lang="EN-US" style="color:#1F497D;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>