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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to change the name of pdf output file using registry code which is generated by using cutepdf writer

hi,

I'm using below function code to change my pdf report output file name which is created by using cutepdf writer

but while executing this script i have to input the file name in save as dialog box which i want to assign automatically using script, please advise.

========================================









Function printReportPDF(pdfOutputFile)

Set

"HKEY_CURRENT_USER\Software\Custom PDF Printer\OutputFile"

, pdfOutputFile, "REG_SZ"

"HKEY_CURRENT_USER\Software\Custom PDF Printer\BypassSaveAs"



, "1", "REG_SZ"

Set



WSHShell = nothing

End

function

WSHShell = CreateObject("WScript.Shell")

0 Replies