But I’m still in trouble.
I’m using an HTML_AREA with a global field, so I set printSliding to grow on height (I read the docs, just grow on height and the code is:
controller.showPrintPreview(true);
Now it shows in printPreview, but I can’t manage to print it. The informative error message from Servoy is:
"Cannot print document
-1"
The first time I run it. If I run it immediately after the first run I get a printout of the first page of the report. But no more!