>Naomi,
>
>you can drive Acrobat Reader using DDE
>
>e.g.
>
>m.lcFilename=getfile("PDF")
>run /n3 acrodr32.exe
>DDEChan = DDEInitiate("Acroview", "Control")
>ddeexecute(ddechan,'[FilePrintSilent(&lcFilename)]')
>DDEExecute(ddechan,"[AppExit()]")
>
>i haven't tested or timed this but i would expect it to be pretty quick. Especially if you need to print more than one file... you'd just need to repeat the ddeexecute for each filename
>
>
>see
http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACOverview.pdf for more info
>
>
>hth
>
>Nigel
Nigel,
Thanks for your response. In the sample code you posted can I use ShellExecute instead of run? In the meantime I downloaded FoxitReader and tried the code as is and it didn't work. I suspect the parameters are different, so I had to register on the Foxit forum and ask the question there.
Anyway, seems like we're not creating PDF here at all and we may not need to re-print them. So, I may need to divert my attention to printing prn files now.
If it's not broken, fix it until it is.
My Blog