New Forum | Previous | Next | (P-PDF) Developers
Topic: Running Acrobat from the command line
Conf: (P-PDF) Developers, Msg: 59010
Date: 5/29/2002 05:36 PM
I am currently working on a project where I am running AcroRd32.exe from the command line and spawning a process to do this with CreateProcess() so that I can achieve silent unattended printing from a VB app. It is working perfectly EXCEPT when I try to print to a printer that has a space in it.
The printer name is the final parameter that AcroRd32.exe expects and if there is a space in the name it chops off everything after the space. I have tried putting single quotes around the printer name but this doesn't seem to work.
I would be VERY greatful if anybody knows how to achieve this.