At 03:02 PM 10/15/2004 -0400, Emmitt Dove wrote:
I know I've seen it here before but cannot locate it. I wish to print a PDF document, unattended, using LAUNCH. What is the command line for acrobat to automatically print a document (with print queue specified)?
Emmitt,
Ask and you shall receive!
Here's how:
Example 01: (If using Adobe Acrobat 5.0)
SET VAR vQuotes TEXT = (CVAL('QUOTES'))
SET VAR vPDFFileName TEXT = 'MyPDFFile.PDF'
SET VAR vPrintString TEXT = NULL
SET VAR vPrintString = +
(.vQuotes+'C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe|/p /h' +
&.vPDFFilename+.vQuotes)
LAUNCH &vPrintString
RETURNExample 02: (If using Adobe Acrobat 6.0)
SET VAR vQuotes TEXT = (CVAL('QUOTES'))
SET VAR vPDFFileName TEXT = 'MyPDFFile.PDF'
SET VAR vPrintString TEXT = NULL
SET VAR vPrintString = +
(.vQuotes+'C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe|/p /h' +
&.vPDFFilename+.vQuotes)
LAUNCH &vPrintString
RETURNEnjoy and make sure to have fun!
Very Best R:egards,
Razzak.
