Hi,
I have tried using script to print a DS application. It is very easy! Assign APPLICATION.print(); to a button.
I have one problem though. When I print the result is doesn't look like my application should. Instead it is covered by a semi-transparent gray area. In addition a picture of the "rotating flower' which appears to show you that the application is working in the background, is shown on my printout.
When I observed the process carefully, I noticed that that is exactly what happens when I click on my print button. First the display gets darker (dark grey) and the rotating flower appears for a second. Then it is back to normal.
I believe that the print script somehow captures this brief moment. If I do it again and again, eventually the process gets faster, probably because some of the information is cached. Often it only takes two print-clicks and the process is so fast that the gray shadow and the rotating flower no longer appear and I get my printout just how I want it to be.
Has anyone else experienced something like this? Is it perhaps due to my slow notebook or a slow network? Is there any way to somehow make the system wait for 1 or 2 seconds and then create the screenshot?
Cheers,
Martin