Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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