I want to bring up the print dialog as soon as the PDF is loaded.
I am using
pdfViewer.execute({ command:
"PrintCommand"
});
which works fine from a button.
However it fails when I use it from the onRender event.
Putting an alert in the event appears to show the event is fired before the PDF is rendered to screen.
Is there another way to do this?