General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only