Print PDF to file - Shell syntax for Adobe Acrobat Reader?
Posted on 2007-03-30
I need to print a PDF file to file, via a Postscript printer driver, from VB6 code. It's my intention to use the VB Shell command, but I need to know the correct syntax for the Acrobat Reader.
In the registry (W2K) the shell\print\command syntax is given as:
"C:\Program Files\Adobe\Acrobat 4.0\Reader\AcroRd32.exe" /p /h "%1"
but I can't find an explanation of the arguments anywhere.
I know I need to provide the name of the file to print, the printer name and the destination folder.
Can anyone please explain this syntax (I've spent a fruitless morning googling for this information!)?