Control print setting

Hi Guys,


this Question is continuation of this thread How to disable print button when report already printed.





As image shows above.


What i want to happen is  upon clicking the "OK" button in the 3rd image to print the reports, then it will tells report is printed and automatic close the 1st and 2nd image/window. Please view the link above to understand.


hoping your quick response..


Thank you.

No Data
  • What's the point of printing something to screen and immediately closing the window? And if you print it to e-mail, as your configuration shows, there shouldn't be the window shown in your second image, should it?
    Also, closing the journal form looks like a really strange experience. How do you know that users doesn't want to continue working there? But if you insist, calling close() method of the form should be easy.