Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print PDF file
Message
From
16/02/2006 09:34:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Print PDF file
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01096718
Message ID:
01096718
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform