<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:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
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;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="EN-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">We experience the same issues. When I asked around, I was told that it’s a limitation of PDF.js and that Mozilla was planning on ditching it. I was disappointed to see that 68 is still using it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">In a traditional office environment (i.e. lots of paper, printing, forms), PDF printing is Firefox’s biggest shortcoming. Edge and Chrome have much better PDF and printing support. Of course plugins are gone
now, but you can disable PDF.js and have PDFs download and open in a separate application.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:EN-CA">-----------------------------------------<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:EN-CA">Jason Jackson<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-CA">Computer Systems Technician<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-CA">North Vancouver School District<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><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 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-CA">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-CA"> Enterprise <enterprise-bounces@mozilla.org>
<b>On Behalf Of </b>Gaudreau, Jonathan<br>
<b>Sent:</b> July 4, 2019 1:13 PM<br>
<b>To:</b> enterprise@mozilla.org<br>
<b>Subject:</b> [EXTERNAL] [Mozilla Enterprise] PDF files are printed in the wrong orientation<o:p></o:p></span></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"><span lang="FR-CA" 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@01D53B05.4C8F6980"></span><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:-18.0pt;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:-18.0pt;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:-18.0pt;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 lang="FR-CA" 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:image003.png@01D53B05.4C8F6980" 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"><span lang="FR-CA"><o:p> </o:p></span></p>
</div>
</body>
</html>