Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print PDF file
Message
De
16/02/2006 09:34:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Print PDF file
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01096718
Message ID:
01096718
Vues:
54
I want to print two PDF files in the same time on two different printers. I am trying to use the following solution:

SetDefaultPrinter('Printer1')
ShellExecute(0, 'print', 'c:\file1.pdf', '', '', 0)

SetDefaultPrinter('Printer2')
ShellExecute(0, 'print', 'c:\file2.pdf', '', '', 0)

But both files are printed to the Printer2. Any idea how to do that?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform