I am using the new PB2022R2 Web browser control to let the user print reports generated from datastores and specify his preferences with a print dialog window. To do so, I use the PowerBuilder function saveas(pdf!), and the new Navigate() and print() functions of the Web Browser control.
This works fine but I would like to know when the user has printed the document or cancelled the printing. I was hoping that the printpfdfinished event would do the job but in fact this event is triggered when the user save the Web browser content as a pdf file, not when it prints a pdf file.
Does any one know if there is some way to trap the "PrintFinished event from the new Web browser control ?