I thought I was an ‘experienced newbie’, but obviously not…
I have had a solution working on Safari and Firefox for a while now but IE is proving more of a challenge. My code below simply prints to PDF and opens in a separate window. However, in IE, a blank window appears then disappears. For the first execution, I get a message saying ‘could not access the server’.
function printOrderList()
{
forms.order_list_print.controller.show();
forms.order_list_print.controller.sort( 'company_id asc');
forms.order_list_print.controller.print(false,false,plugins.pdf_output.getPDFPrinter());
forms.company_form_main.controller.show();
}
There are definitely records to print and they reside in the current foundset. Pop-up blocker is switched off. I have tried controller.print and controller.printPreview without success. I am guessing there is a simple fix. Help !!!
I’m relieved in a way because that is the code I have been trying. It all seems to be fine in Firefox (Mac/PC) and Safari (Mac/PC), but any recent version of IE doesn’t work.
When I execute the method, the web client shows ‘loading’ to say it is putting the document together,
Then it shows an empty pop-up window,
Then the pop-up window disappears within a second without rendering anything on it.
This has occurred on 5 different computers on 5 different networks, all on Windows using Internet Explorer v6+.
It seems that the Servoy web client is conflicting with Explorer…
I have turned the pop-up blocker off.
I have turned the pop-up blocker on but allowed it for my IP address.
I have turned the firewall off (temporarily!)
I have set my IP address as a trusted site.
I have turned the security level right down.
I have switched the Adobe PDF viewer add-on on and off.