I have an QlikView-application with a macro (in vbscript) which should create a PDF-file from a report. The PDF-file should be created after the application has been updated. I trigger the macro from On Post Reload and I use the printer PDF-XChange 3.0. To trigger the update of the QlikView-application I have created a .bat-file with this command line:
The .bat-file is scheduled in a task to run in Windows Task Scheduler with the highest privileges and to run either if the user is logged on or not.
When I am logged on to the server the PDF-file is created when the scheduled task run, but when I am logged of from the server the PDF-file is not created.
I have set up the printer to save the generated PDF-file and to always overwrite the previous PDF-file.
Make sure that the task is set to run if the user is logged on or not.
Bill - Principal Technical Support Engineer at Qlik To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.