Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print PDF file from VFP directly?
Message
From
28/09/2004 17:31:39
 
 
To
18/05/2004 06:06:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00904836
Message ID:
00946962
Views:
28
>Could I print PDF file from VFP directly?
>
>TIA.

Another way to do this: (my 2 cents)

*-- the FFC that comes with 8.0 makes this easy too
*-- C:\Program Files\Microsoft Visual FoxPro 8\Ffc\_environ.vcx
*-- I subclassed this and called it bms_shellexecute.vcx

*-- drag and drop the sub-class to your form
*-- add the following code to a method call on a form
*-- this may work well because you are not defining which reader to use
*-- in your code...
LOCAL jreturn
jreturn=thisform.bms_shellexecute1.shellexecute(thisform.image1.Picture,'','print')

IF jreturn<32
   =messagebox('The Application used to print the image had a problem...  Please try again.',16,'System Message')
   
endif

return(jreturn)
Thanks,

Stacy



Black Mountain Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform