Jim,

 

You can use the LAUNCH command to launch acrobat and print the file.  The
following is from a message written by Razzak some years back:

 

    {Define Print String

     If Using Full Version of Adobe Acrobat 8.0

     C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Acrobat.exe

     If Using Adobe Acrobat 8.0 Reader Only

     C:\Program Files\Adobe\Acrobat 8.0\Reader\AcroRd32.exe

     If Using Full Version of Adobe Acrobat 9.0

     C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe

     If Using Adobe Acrobat 9.0 Reader Only

     C:\Program Files\Adobe\Acrobat 9.0\Reader\AcroRd32.exe}

 

    SET VAR vPrintString = +

    (.vQuotes+'C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Acrobat.exe|/p /h'
+

    &.vPDFFilename+.vQuotes)

    LAUNCH &vPrintString

 

This is not the complete message, and Razzak was demonstrating how to print
a report to a PDF then immediately send the PDF to the printer.  So, for
instance, his syntax relies upon having your quote setting in the variable
vQuotes.

 

To accomplish your goal, print your report then send the PDF to the printer
using Acrobat.

 

Emmitt Dove

Converting Systems Architect

Evergreen Packaging, Inc.

[email protected]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[email protected]

 

From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Thursday, January 13, 2011 13:35
To: RBASE-L Mailing List
Subject: [RBASE-L] - Print Pdf within report

 

I have a report that prints an RTF file within a report using a Variable
Rich Text Object.

I now want to do the same for a PDF file.

The PDF files are in a file folder outside of RBASE,
S:\Part_PDF\filename.PDF.

I created a variable vPartPath that points to the specific file.

That part works.

 

My questions:

Which Variable Object should I use in the report?

I want to have the pdf print separately from the rest of the report.

 

James Belisle

 

Reply via email to