<?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 Re. :Re: Re. :Export to PDF with BypassSaveAs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234150#M85619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, I got it !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My mistake was to install the last version of QlickViewPDF (9.00).&lt;/P&gt;&lt;P&gt;In fact, I have to use the previous version : 7.52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it works !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 May 2010 10:17:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-07T10:17:21Z</dc:date>
    <item>
      <title>Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234145#M85614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make an export with PDF, but without having to choose a file name and to press "OK".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've installed "QlikViewPDF" (which looks like to be a "PDF XChange Writer").&lt;/P&gt;&lt;P&gt;I've found some code in the forum, and tried to adapt it to my report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt; set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfPath, "REG_SZ"&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;BR /&gt; ActiveDocument.PrintReport "RP01", "QlikViewPDF", false&lt;BR /&gt; set WSHShell = nothing&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;"pdfPath" is a string with the full path and name of my desired PDF.&lt;/P&gt;&lt;P&gt;"RP01" is the ID of my report.&lt;/P&gt;&lt;P&gt;"QlikViewPDF" is the name of my PDF printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed the security parameters to allow system access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute my function, I always have the "Save file as..." window.&lt;/P&gt;&lt;P&gt;I'm not sure that this registry keys are the ones to use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 18:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234145#M85614</guid>
      <dc:creator />
      <dc:date>2010-05-06T18:15:27Z</dc:date>
    </item>
    <item>
      <title>Re. :Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234146#M85615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Try to replace these lines :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfPath, "REG_SZ"&lt;BR /&gt;WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;by these lines :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\QlikViewPDF\OutputFile", pdfPath&lt;BR /&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\QlikViewPDF\BypassSaveAs", 1&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I hope that will helps you.&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 19:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234146#M85615</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-06T19:19:15Z</dc:date>
    </item>
    <item>
      <title>Re. :Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234147#M85616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does not work either &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 20:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234147#M85616</guid>
      <dc:creator />
      <dc:date>2010-05-06T20:47:46Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234148#M85617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you declare your pdfPath variable ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 20:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234148#M85617</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-06T20:52:59Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234149#M85618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub SaveFiles&lt;BR /&gt; ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;&lt;BR /&gt; 'Export PDF&lt;BR /&gt; set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt; 'WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", "C:\tmp\file.pdf", "REG_SZ"&lt;BR /&gt; 'WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;BR /&gt;&lt;BR /&gt; WSHShell.RegWrite "HKEY_CURRENT_USER\Software\QlikViewPDF\OutputFile", "C:\tmp\file.pdf"&lt;BR /&gt; WSHShell.RegWrite "HKEY_CURRENT_USER\Software\QlikViewPDF\BypassSaveAs", 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.PrintReport "RP01", "QlikViewPDF", false&lt;BR /&gt; set WSHShell = nothing&lt;BR /&gt;&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After I run it, here is what I have in my registry :&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3884.registry.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/3884.registry.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I notice that the keys are created in the registry by QV (keys don't exists before I run my macro).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an entry for "PDF-XChange 3.0" (the real name of "QlickViewPDF") in&lt;BR /&gt;HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried with the following pathes :&lt;/P&gt;&lt;P&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0\OutputFile", "C:\tmp\file.pdf", "REG_SZ"&lt;BR /&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0\Drivers\OutputFile", "C:\tmp\file.pdf", "REG_SZ"&lt;BR /&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0\Drivers\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0\Drivers\Control\OutputFile", "C:\tmp\file.pdf", "REG_SZ"&lt;BR /&gt;WSHShell.RegWrite "HKEY_CURRENT_USER\Software\Tracker Software\PDF-XChange 3.0\Drivers\Control\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing worked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you entries for "HKEY_CURRENT_USER\Software\QlikViewPDF\" other than "OutputFile" and "BypassSaveAs" (the one QV created) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 09:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234149#M85618</guid>
      <dc:creator />
      <dc:date>2010-05-07T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234150#M85619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, I got it !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My mistake was to install the last version of QlickViewPDF (9.00).&lt;/P&gt;&lt;P&gt;In fact, I have to use the previous version : 7.52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it works !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 10:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234150#M85619</guid>
      <dc:creator />
      <dc:date>2010-05-07T10:17:21Z</dc:date>
    </item>
    <item>
      <title>Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234151#M85620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;pls help me , I get error in pdfcreator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 08:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234151#M85620</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-25T08:19:25Z</dc:date>
    </item>
    <item>
      <title>Export to PDF with BypassSaveAs</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234152#M85621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your report have items ?&lt;/P&gt;&lt;P&gt;Could you post a QV file ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 22:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PDF-with-BypassSaveAs/m-p/234152#M85621</guid>
      <dc:creator />
      <dc:date>2011-02-25T22:30:29Z</dc:date>
    </item>
  </channel>
</rss>

