Thanks craig. We're going to get the book.
I did find a solution and thought I'd share it with everyone.
SumatraPDF.exe will print a pdf silently and fast.
It worked like a charm.
Simple to download.
Simple to use.
Go to sumatrapdfreader.org
Free download by Krzysztof Kowalczyk.
Download the Portable version: SumatraPDF-3.0.zip.
Double click and u get sumatraPDF.exe
Here's an example:
*** For this example, copy sumatrapdf.exe and lcpdffile to 'c:\workingfolder\
lcexe = 'sumatrapdf.exe'
lcaction = 'Open'
lcparameters = '-print-to "' + lcprinterName + '" ' + lcpdffile
lcdir = 'c:\workingfolder\'
lnshellexecute = ShellExecute(0, lcaction, lcexe, lcparameters, lcdir, 0)
>One of the sample chapters of MegaFox discusses PDFs. You can get it here
http://www.hentzenwerke.com/catalog/megafox.htm>
>
>>How do I print a PDF silently?
>>
>>My code:
>>
>>ShellExecute(0, 'printto', lcpdffile, '"' + lcprinterName + '"', null,0)
>>
>>This code launches the Adobe Reader and keeps it open on the screen.
>>We don't want to see the reader.
>>How do I get rid of it?
>>
>>Please help.
>>Deb