Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We do not use the standard method of IE to give users access to QlikView Reports but a KioskBrowser application - various reasons for this - which means that the std toolbar doesn't appear.
This means that we have to create buttons on the report which mirror the toolbar - for example Print Sheet.
Starting to look at the Report Editor and have compiled a two page report.
The problem I have is giving our users access to print the report - a prerequisite is that the print dialog must appear so that they can change their default settings to be colour.
When printing a sheet I know I can force the print dialog window open using the following command...
ActiveDocument.ActiveSheet.DialogPrint
I also know that I can print a specific report off that goes direct to the printer using the following command...
ActiveDocument.PrintReport "RP01"
Suppose I am looking for a combination of the two really...
I have tried adding DialogPrint both before and after PrintReport with no success..
I found the following which works great when I am logged into the QlikView Qpplication but not via the KioskBrowser or by using Internet Explorer.
ActiveDocument.DialogReports
Any ideas or help greatly appreciated...
According to API guide, PrintReport has optional parameter "ShowPrinterDlg". Looks like what you need.
Regards,
Michael
Thanks Micheal
I am still getting to grips with the API guide and have only been using the "Automation Examples" tab but can now see this on the "Automation Members" tab.
Wonder if I could impose further and ask what the proper syntax for this for setting "ShowPrinterDlg"...
To go straight to the printer it is...
ActiveDocument.PrintReport "RP01"
Thanks for your help so far...
Try this:
ActiveDocument.PrintReport "RP01" , , true
Michael - works perfectly...
Now I know I need to look at the other tab and understand the syntax...
Thanks for your help...
Regards
Paul