Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print pdf file directly in VFP?
Message
 
 
À
13/10/2009 06:56:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01429099
Message ID:
01429103
Vues:
267
>I need to print out pdf file directly from VFP. Could anyone show me hot to do this.

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

ShellExecute(0, "print", FULLPATH(lcFileName), "", "", 0)
It'll use application associated with .PDF files to print them to the Windows default printer.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform