Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Generate PDF reports

Hi Folks,

Hope all are doing well!!

I am using PrimoPDF to generate the PDFreports from Qlikview instead of QlikviewPDF. when i ran the below macro data is exporting to PDF but it is giving save as pop up window. How to by pass the save as pop up window? could any one correct my below code?

Thanks in advance..

Below is the script i used

sub pdftest

set WSHShell = CreateObject("WScript.Shell")

WSHShell.RegWrite "HKCU\Software\PrimoPDF\OutputFile", "C:\Test.PDF", "REG_SZ"

WSHShell.RegWrite "HKCU\Software\PrimoPDF\BypassSaveAs", "1", "REG_SZ"

ActiveDocument.PrintReport "RP01","PrimoPDF", false

set WSHShell = nothing

end sub

Below winodw i was getting.

Saveas.JPG

Regards,

Chandra

0 Replies