I am using PowerBuilder 10.5.1 and am having the timeout issue(error -30). Amyuni tells me to put the enableprinter in the enablepre event. But they can not help me do this in PB.
Can anyone out there help me? I do not really even know where to start. So samples would be much appreciated. I am new to PB.
Yes, I am calling enableprinter right before the datawindow.print. But it takes the datawindow up to almost 10 minutes sometimes, depending on the size of the report, before it starts spooling to the printer. Thus is times out with error -30.
THat is correct, the printer will deactivate if it is a really big report. But that is why you all say to use the enablepre event, although I can not find out how to use it from PB 10.5.
No, I did not find a way to catch the enablepre event from within powerbuilder.