<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changing Printer Orientation through Code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142221#M21752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how you can do it using VBScript functions - perhaps there is something (outside of QlikView).&lt;/P&gt;&lt;P&gt;As an alternative solution - you can define a QlikView Reports (using "Reports" menu option) and in the report you can declare one page as Landscape and another page as Portrait. Then, instead of Printing Sheet, you can print a Report.&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2009 19:05:37 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-04-23T19:05:37Z</dc:date>
    <item>
      <title>Changing Printer Orientation through Code</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142220#M21751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully I have the correct forum for this question...&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;I have a button pointing to the following script…&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;&lt;B&gt;sub&lt;/B&gt; ReportPrint&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;ActiveDocument.ActiveSheet.Print()&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;&lt;B&gt;end&lt;/B&gt; &lt;B&gt;sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;This is working great.&lt;/P&gt;&lt;P&gt;I am working on a new report and want to print tab 1 portrait with tab 2 being printed in landscape mode.&lt;/P&gt;&lt;P&gt;I know how to change the orientation through the print set up but this applies to every tab.&lt;/P&gt;&lt;P&gt;What I would like to is have to different sub routines…&lt;/P&gt;&lt;P&gt;One which forces the printout to landscape and one which forces the printout to portrait…&lt;/P&gt;&lt;P&gt;So would have something like….&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;&lt;B&gt;sub&lt;/B&gt; ReportPrintLandscape&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;Force Print Settings to Landscape&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;ActiveDocument.ActiveSheet.Print()&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;&lt;B&gt;end&lt;/B&gt; &lt;B&gt;sub&lt;/B&gt;&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;&lt;B&gt;&lt;/B&gt;&lt;B&gt;sub&lt;/B&gt; ReportPrintPortrait&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;Force Print Settings to Portrait&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;ActiveDocument.ActiveSheet.Print()&lt;/P&gt;&lt;P style="mso-layout-grid-align: none;"&gt;&lt;B&gt;end&lt;/B&gt; &lt;B&gt;sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I am struggling with the command line for changing the print orientation…&lt;/P&gt;&lt;P&gt;Any help greatly appreciated...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 18:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142220#M21751</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2009-04-23T18:44:51Z</dc:date>
    </item>
    <item>
      <title>Changing Printer Orientation through Code</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142221#M21752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how you can do it using VBScript functions - perhaps there is something (outside of QlikView).&lt;/P&gt;&lt;P&gt;As an alternative solution - you can define a QlikView Reports (using "Reports" menu option) and in the report you can declare one page as Landscape and another page as Portrait. Then, instead of Printing Sheet, you can print a Report.&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 19:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142221#M21752</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-23T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Changing Printer Orientation through Code</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142222#M21753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg...&lt;/P&gt;&lt;P&gt;I am new to QlikView and have no experience of the "Reports" menu option.&lt;/P&gt;&lt;P&gt;I have searched for support documentation (manual) for this with no success...&lt;/P&gt;&lt;P&gt;Do you know of any support documentation that would help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 19:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142222#M21753</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2009-04-23T19:14:48Z</dc:date>
    </item>
    <item>
      <title>Changing Printer Orientation through Code</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142223#M21754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a brief description of Reports Menu in Chapter 17 of the Reference Manual (should be installed under \QlikVIew\Documentation as part of the Complete installation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 19:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142223#M21754</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-23T19:21:49Z</dc:date>
    </item>
    <item>
      <title>Changing Printer Orientation through Code</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142224#M21755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg&lt;/P&gt;&lt;P&gt;Have come up with a workaround...&lt;/P&gt;&lt;P&gt;I am opening the print dialog box and the user can select the orientation they want...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.DialogPrint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 19:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Printer-Orientation-through-Code/m-p/142224#M21755</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2009-04-23T19:57:31Z</dc:date>
    </item>
  </channel>
</rss>

