<?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 QlikviewPDF on 64bit server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158545#M1288696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use win7 64bits. I just can not generate the file. He stays in the "loop" in checkOutputFile function. How can I fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jan 2011 19:51:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-21T19:51:36Z</dc:date>
    <item>
      <title>QlikviewPDF on 64bit server</title>
      <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158541#M1288687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I finally got the QlikviewPDF software running on my Windows Server 2008 machine.&lt;/P&gt;&lt;P&gt;I tested the development on my laptop and all works fine, the macro prints all reports to the chosen directory. Now, when I try to run the macro on the server, it prints the document but asks for every document the name of the pdf file and standard proposes My Documents as the outputfolder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;PrintReportPDF reportID, reportFile&lt;BR /&gt;....&lt;BR /&gt;function printReportPDF(oReport, pdfOutputFile)&lt;BR /&gt; Set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfOutputFile, "REG_SZ"&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;BR /&gt; ActiveDocument.PrintReport oReport, "QlikviewPDF", false&lt;BR /&gt; set WSHShell = nothing&lt;BR /&gt;end function&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This works great on Windows XP but not on our 64bit server, could this be because we installed Qlikview with the compatibily wizard? Or do I need to alter some parameters?&lt;/P&gt;&lt;P&gt;The RegWrite statements work fine, the "error" seems to be in the ActiveDocument.PrintReport line.&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158541#M1288687</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>QlikviewPDF on 64bit server</title>
      <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158542#M1288691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue. I solved it by adding a vbs function which check that the pdf is generated before setting the registry back to normal.&lt;/P&gt;&lt;P&gt;When you run the print function, and then set your registry settings back to normal, it can happens that pdfprinter engine didn't run the print function before registry is back to normal. Therefore when it runs the printing, registry settings are set to bypasssaveas = 0.&lt;/P&gt;&lt;P&gt;The function I run is as followed:&lt;/P&gt;&lt;P&gt;sub checkOutputFile(psQVWDocument,pdfFile)&lt;BR /&gt;' Check if pdf file exists&lt;BR /&gt; Set fileTest = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; currentStatus = fileTest.FileExists (pdfFile)&lt;BR /&gt; ii=0&lt;BR /&gt; while currentStatus = false and ii &amp;lt;10&lt;BR /&gt; rem ** let QV sleep for 1 seconds **&lt;BR /&gt; psQVWDocument.GetApplication.Sleep 1000&lt;BR /&gt; currentStatus = fileTest.FileExists (pdfFile)&lt;BR /&gt; ii = ii +1&lt;BR /&gt; wend&lt;BR /&gt; set fileTest = nothing&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;So before resetting the registry settings, you should wait that your pdf file is generated.&lt;/P&gt;&lt;P&gt;I hope this will help you to solve your issue.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 17:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158542#M1288691</guid>
      <dc:creator />
      <dc:date>2009-07-17T17:16:38Z</dc:date>
    </item>
    <item>
      <title>QlikviewPDF on 64bit server</title>
      <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158543#M1288693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same issue with our x64-Server and the reason is as follow. There is a Preferences.exe in the QlikViewPDF installation folder which sets additional parameters and/or ignores the registry. So if you specify there (in the preferences) a certain output folder and also tick the box 'Use print job name to save PDF file under default folder automatically' then the SaveAs Dialogue will disappear. Unfortunately I can not change the file name from 'QlikViewPrinting.pdf' to another one. If anyone comes up with a solution for this it will be very appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 18:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158543#M1288693</guid>
      <dc:creator />
      <dc:date>2009-12-04T18:40:30Z</dc:date>
    </item>
    <item>
      <title>QlikviewPDF on 64bit server</title>
      <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158544#M1288695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same problem in Windows 7 environment. On installing QlikViewPDF writer, I noticed that the registry keys are different than what is stated in the scripts mentioned in the forum so far. I have modified the scripts and have been successful in creating the reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'***************************************************&lt;BR /&gt;'Functions creates the reports in PDF format&lt;BR /&gt;'***************************************************&lt;BR /&gt;sub CreateReports&lt;/P&gt;&lt;P&gt;tempFolder = "d:\temp"&lt;BR /&gt; reportID = "RP02"&lt;BR /&gt; set rep = ActiveDocument.GetReport(reportID)&lt;BR /&gt; reportName = rep.Name&lt;BR /&gt;&lt;BR /&gt;'Create the file name with path&lt;BR /&gt; reportFile = tempFolder &amp;amp; "\" &amp;amp; reportID &amp;amp; "_" &amp;amp; reportName &amp;amp; ".pdf"&lt;BR /&gt;&lt;BR /&gt; 'print the report&lt;BR /&gt; printReportPDF reportID, tempFolder 'Call the function&lt;BR /&gt;&lt;BR /&gt; 'Rename the report&lt;BR /&gt; checkOutputFile reportFile, tempFolder 'Call the function&lt;BR /&gt;&lt;BR /&gt;call ClearDefault() 'Call the function&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;'***************************************************&lt;BR /&gt;'Actual function to print the PDF format without being asked for location to save&lt;BR /&gt;'***************************************************&lt;BR /&gt;function printReportPDF(oReport, pdfLocation)&lt;/P&gt;&lt;P&gt;Set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\DefaultLocation", pdfLocation, "REG_SZ"&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\UseJobName", "1", "REG_SZ"&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\UseDefaultLocation", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;'QV Print&lt;/P&gt;&lt;P&gt;ActiveDocument.PrintReport oReport, "QlikViewPDF",false&lt;/P&gt;&lt;P&gt;set WSHShell = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end function&lt;BR /&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;'***************************************************&lt;BR /&gt;'Function to reset the PDF printing to normal mode&lt;BR /&gt;'***************************************************&lt;BR /&gt;function ClearDefault()&lt;/P&gt;&lt;P&gt;Set WSHShell = CreateObject("WScript.Shell")&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\UseJobName", "0", "REG_SZ"&lt;BR /&gt; WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\UseDefaultLocation", "0", "REG_SZ"&lt;BR /&gt; set WSHShell = nothing&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;'***************************************************&lt;BR /&gt;'Checks the output file before renaming the report&lt;BR /&gt;'***************************************************&lt;BR /&gt;function checkOutputFile(pdfFile,pdfLocation)&lt;/P&gt;&lt;P&gt;Set fileTest = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;&lt;BR /&gt; 'Delete any previous version of the file&lt;BR /&gt; if fileTest.FileExists(pdfFile) then&lt;BR /&gt; fileTest.DeleteFile pdfFile&lt;BR /&gt; End if&lt;BR /&gt;&lt;BR /&gt; 'Check if the temp pdf report file has been generated&lt;BR /&gt; strTempFile = pdfLocation &amp;amp; "\" &amp;amp; "QlikView Printing.pdf"&lt;BR /&gt; currentStatus = fileTest.FileExists (strTempFile)&lt;BR /&gt; if currentStatus = false then&lt;BR /&gt; ActiveDocument.GetApplication.Sleep 1000&lt;BR /&gt; checkOutputFile pdfFile,pdfLocation&lt;BR /&gt; else&lt;BR /&gt; 'rename the file&lt;BR /&gt; fileTest.MoveFile strTempFile, pdfFile&lt;BR /&gt; end if&lt;BR /&gt; set fileTest = nothing&lt;BR /&gt;end function&lt;/P&gt;&lt;P&gt;Do let me know if this works for you.&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2010 19:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158544#M1288695</guid>
      <dc:creator />
      <dc:date>2010-01-03T19:22:52Z</dc:date>
    </item>
    <item>
      <title>QlikviewPDF on 64bit server</title>
      <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158545#M1288696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use win7 64bits. I just can not generate the file. He stays in the "loop" in checkOutputFile function. How can I fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 19:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158545#M1288696</guid>
      <dc:creator />
      <dc:date>2011-01-21T19:51:36Z</dc:date>
    </item>
    <item>
      <title>QlikviewPDF on 64bit server</title>
      <link>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158546#M1288697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nimish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying your script on a Win2008R2 64bit-system with QV10 SR4 but not only the SaveAs-Dialog appears, QV also stops working after that. The macro settings are on System Access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me a hint why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 12:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikviewPDF-on-64bit-server/m-p/158546#M1288697</guid>
      <dc:creator />
      <dc:date>2012-01-27T12:51:37Z</dc:date>
    </item>
  </channel>
</rss>

