Hello John
al is OK . The file pdf are printed without any user actions but the Acrobat
reader rest open even if iconized.
Thanks
Daniele Barbieri
----- Original Message -----
From: John Minyo II
To: RBASE-L Mailing List
Sent: Wednesday, May 14, 2008 4:33 PM
Subject: [RBASE-L] - Re: Print file PDF
At 05:18 AM 5/14/2008, you wrote:
There is a way to directly print a PDF file without see it before ? and
after close acrobat reader ?
I'm using RBASE 7.6
Daniele,
Using the R:BASE LAUNCH command, you can
print a PDF file without launching Adobe
Reader.
SET VAR vPDFFilename TEXT = 'C:\RBTI\RBG76\Samples\RRBYW14\MyPDF.pdf'
SET VAR vQuotes TEXT = (CVAL('QUOTES'))
SET VAR vAdobePath TEXT = 'C:\Program Files\Adobe\Reader
8.0\Reader\AcroRd32.exe'
SET VAR vPrintString = +
(.vQuotes+.vAdobePath + '| /p /h' + .vPDFFilename+.vQuotes)
LAUNCH &vPrintString
RETURN
The value for .vAdobePath will vary based
on your version of Adobe Reader.
The /p parameter prints the document. The
/h parameter disable the Adobe print dialog
and sends the document to the default printer.
Different versions of Adobe Reader may behave
differently.
John