Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing an already created .pdf file
Message
 
To
15/09/2005 08:54:12
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01049804
Message ID:
01049809
Views:
12
>Is there a way I can print an already created .pdf file using either built in VFP functions or Crystal?
>
>I've been looking at Print2PDF also, but I would prefer to use something we already have.
>
>TIA
>
>MAC

Try:
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
    INTEGER hwnd, ;
    STRING lpVerb, ;
    STRING lpFile, ;
    STRING lpParameters, ;
    STRING lpDirectory, ;
    LONG nShowCmd

=ShellExecute(0,"print", full_path_to_PDF, "","",0)
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform