Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing an already created .pdf file
Message
 
À
15/09/2005 08:54:12
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01049804
Message ID:
01049809
Vues:
11
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform