Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing Print Dialogue Box Result
Message
From
14/04/2002 21:35:12
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00644779
Message ID:
00644894
Views:
21
Sergey:

I got it! But it doesn't work for me exactly as advertised.

I could not get the code below to work with reference to "Print" but I got it to work with WIND1.

_VFP.SETVAR("LLPRINTED", WEXIST("WIND1")) && this works

I got WIND1 to work by defining a window as WIND1 then had the PRINT command work through WINDOW WIND1 as below.

DEFINE WINDOW WIND1 FROM 1,3 TO 30,130
REPORT FORM FINES1 TO PRINT PROMPT NOCONSOLE WINDOW WIND1

With these modifications the value of llPrinted is only .t. if the Print process completes.

So I am out of the woods. Thanks for your help.

Mike Smith
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform