Search found 3 matches

by torygraves
Tue Jul 31 2007
Forum: Power Builder Community
Topic: How to use the EnablePre event in PB
Replies: 4
Views: 15565

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.
by torygraves
Wed Jul 25 2007
Forum: Power Builder Community
Topic: How to use the EnablePre event in PB
Replies: 4
Views: 15565

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.
by torygraves
Mon Jul 23 2007
Forum: Power Builder Community
Topic: How to use the EnablePre event in PB
Replies: 4
Views: 15565

How to use the EnablePre event in PB

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 t...