Hello,
does anybody has experience in using PDF-XChange 5.0 for generating PDF documents in QlikView? We have used Amyuni PDF Printer, but after a version upgrade PDF reports are not printed properly (mainly issues with color gradients and digital displays). QV Support suggested switching to PDF-XChange. Using PDF-XChange 5.0, reports are printed properly. In order to automatize the printing process, we are using the following macro:
function printReportPDF(oReport, pdfOutputFile)
Set WSHShell = CreateObject("WScript.Shell")
'hide progress windows
WSHShell.RegWrite "HKCU\Software\Tracker Software\PDF-XChange 5.0\Drivers\pdfSaver\HideProgressWindow","1","REG_DWORD"
'set registry settings to configure PDF-XChange 5.0
WSHShell.RegWrite "HKCU\Software\Tracker Software\PDF-XChange 5.0\Drivers\Control\00000001\Save.FullFileName", pdfOutputFile, "REG_SZ"
WSHShell.RegWrite "HKCU\Software\Tracker Software\PDF-XChange 5.0\Drivers\Control\00000001\Save.ShowSaveDialog", "No", "REG_SZ"
WSHShell.RegWrite "HKCU\Software\Tracker Software\PDF-XChange 5.0\Drivers\Control\00000001\Save.WhenExists", "Overwrite", "REG_SZ"
WSHShell.RegWrite "HKCU\Software\Tracker Software\PDF-XChange 5.0\Drivers\Control\00000001\Save.App.Run", "0", "REG_SZ"
ActiveDocument.GetApplication.Sleep 2000
ActiveDocument.PrintReport oReport, "QlikviewDrucker", false
set WSHShell = nothing
end function
However, with the new PDF printer it is not possible to bypass the "Save-As" window. The Reg Keys are changed properly, but the "Save-As" window is appearing every time we are trying to print a report.
When using PDF-XChange 3.0, it is working. Reports are printed automatically to the folder defined in variable "pdfOutputFile".
Does anyone has experienced the similar issues?
Thanks,
Paul