<?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 Fault in PDF creation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544119#M203268</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 am using the below macro code for pdf generation of Dashboard1.qvw:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub PrintReports&lt;BR /&gt;&amp;nbsp; 'This macro can be used to print pdf reports into the directory structure using bullzip pdf&lt;/P&gt;&lt;P&gt; ActiveDocument.GetApplication.Sleep 2000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ActiveDocument.PrintReport "RP01", "Bullzip PDF Printer"&lt;BR /&gt;&amp;nbsp; ActiveDocument.GetApplication.Sleep 10000&lt;/P&gt;&lt;P&gt; MyPrintPDFWithBullZip "C:\Qlikview\Dashboard1.pdf"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; ActiveDocument.GetApplication.Sleep 10000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;FUNCTION MyPrintPDFWithQlikViewPDF (pdfOutputFile)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfOutputFile, "REG_SZ"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;END FUNCTION&lt;/P&gt;&lt;P&gt;FUNCTION MyPrintPDFWithBullZip (pdfOutputFile)&lt;/P&gt;&lt;P&gt; 'need to init the printername, otherwise the assignment of the values will fail&lt;BR /&gt; Set obj_printer_util = CreateObject("Bullzip.PDFUtil")&lt;BR /&gt; printername = obj_printer_util.defaultprintername&lt;/P&gt;&lt;P&gt; 'init the BullZip preferences object&lt;BR /&gt; set obj = CreateObject("Bullzip.PDFSettings") 'For 32Bit System u use PDFPrinterSettings&lt;/P&gt;&lt;P&gt; obj.printername = obj_printer_util.defaultprintername 'assign the printername&lt;BR /&gt; obj.SetValue "Output" , pdfOutputFile&lt;BR /&gt; obj.SetValue "ConfirmOverwrite", "no"&lt;BR /&gt; obj.SetValue "ShowSaveAS", "never"&lt;BR /&gt; obj.SetValue "ShowSettings", "never"&lt;BR /&gt; obj.SetValue "ShowPDF", "no"&lt;BR /&gt; obj.SetValue "RememberLastFileName", "no"&lt;BR /&gt; obj.SetValue "RememberLastFolderName", "no"&lt;BR /&gt; obj.SetValue "ShowProgressFinished", "no"&lt;BR /&gt; obj.SetValue "ShowProgress", "no"&lt;BR /&gt; obj.WriteSettings True&lt;/P&gt;&lt;P&gt;END FUNCTION&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pdf file is generated from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used same code for pdf generation of Dashboard2.&lt;/P&gt;&lt;P&gt;just i Change the file name "C:\Qlikview\Dashboard2.pdf"&lt;/P&gt;&lt;P&gt;but when i run the Dashboard2.qvw macro for pdf generation after Dashboard1.qvw then it will create the different file named dashboard2.pdf but having same details/data of dashboard1.pdf or sometimes this happens that dashboard2.pdf is not created and data is updated in dashboard1.qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone face this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help to resolve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 13:52:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-21T13:52:54Z</dc:date>
    <item>
      <title>Fault in PDF creation</title>
      <link>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544119#M203268</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 am using the below macro code for pdf generation of Dashboard1.qvw:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub PrintReports&lt;BR /&gt;&amp;nbsp; 'This macro can be used to print pdf reports into the directory structure using bullzip pdf&lt;/P&gt;&lt;P&gt; ActiveDocument.GetApplication.Sleep 2000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ActiveDocument.PrintReport "RP01", "Bullzip PDF Printer"&lt;BR /&gt;&amp;nbsp; ActiveDocument.GetApplication.Sleep 10000&lt;/P&gt;&lt;P&gt; MyPrintPDFWithBullZip "C:\Qlikview\Dashboard1.pdf"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; ActiveDocument.GetApplication.Sleep 10000&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;FUNCTION MyPrintPDFWithQlikViewPDF (pdfOutputFile)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfOutputFile, "REG_SZ"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;END FUNCTION&lt;/P&gt;&lt;P&gt;FUNCTION MyPrintPDFWithBullZip (pdfOutputFile)&lt;/P&gt;&lt;P&gt; 'need to init the printername, otherwise the assignment of the values will fail&lt;BR /&gt; Set obj_printer_util = CreateObject("Bullzip.PDFUtil")&lt;BR /&gt; printername = obj_printer_util.defaultprintername&lt;/P&gt;&lt;P&gt; 'init the BullZip preferences object&lt;BR /&gt; set obj = CreateObject("Bullzip.PDFSettings") 'For 32Bit System u use PDFPrinterSettings&lt;/P&gt;&lt;P&gt; obj.printername = obj_printer_util.defaultprintername 'assign the printername&lt;BR /&gt; obj.SetValue "Output" , pdfOutputFile&lt;BR /&gt; obj.SetValue "ConfirmOverwrite", "no"&lt;BR /&gt; obj.SetValue "ShowSaveAS", "never"&lt;BR /&gt; obj.SetValue "ShowSettings", "never"&lt;BR /&gt; obj.SetValue "ShowPDF", "no"&lt;BR /&gt; obj.SetValue "RememberLastFileName", "no"&lt;BR /&gt; obj.SetValue "RememberLastFolderName", "no"&lt;BR /&gt; obj.SetValue "ShowProgressFinished", "no"&lt;BR /&gt; obj.SetValue "ShowProgress", "no"&lt;BR /&gt; obj.WriteSettings True&lt;/P&gt;&lt;P&gt;END FUNCTION&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pdf file is generated from this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used same code for pdf generation of Dashboard2.&lt;/P&gt;&lt;P&gt;just i Change the file name "C:\Qlikview\Dashboard2.pdf"&lt;/P&gt;&lt;P&gt;but when i run the Dashboard2.qvw macro for pdf generation after Dashboard1.qvw then it will create the different file named dashboard2.pdf but having same details/data of dashboard1.pdf or sometimes this happens that dashboard2.pdf is not created and data is updated in dashboard1.qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone face this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help to resolve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 13:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544119#M203268</guid>
      <dc:creator />
      <dc:date>2014-01-21T13:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fault in PDF creation</title>
      <link>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544120#M203269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;HI there&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;It is a little bit difficult for me to generate pdf files using a code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;There are many third party tool which supports to generate PDF files directly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So you can try to add some &lt;A href="http://www.rasteredge.com/how-to/csharp-imaging/pdf-get-to-start/"&gt;&lt;SPAN style="color: #000000;"&gt;PDF program&lt;/SPAN&gt;&lt;/A&gt;.Best wishes.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 01:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544120#M203269</guid>
      <dc:creator />
      <dc:date>2014-03-25T01:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fault in PDF creation</title>
      <link>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544121#M203270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer this post for correct answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/471436#471436"&gt;http://community.qlik.com/message/471436#471436&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 11:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fault-in-PDF-creation/m-p/544121#M203270</guid>
      <dc:creator />
      <dc:date>2014-05-29T11:20:15Z</dc:date>
    </item>
  </channel>
</rss>

