Glad to help!

 

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: Friday, January 21, 2011 12:43
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

Emmitt,

 

I just wanted to thank you again for all the information you pointed me to.

I was able to accomplish the task of printing the files collated with each
traveler.

The production manager is very happy.

 

The cursor method worked like a charm.

All the user has to do is manually clear the adobe screen at the end of
printing.

 

James Belisle

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Emmitt Dove
Sent: Thursday, January 13, 2011 4:41 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

Try /t for terminate.  Acrobat 8+ will probably leave the window open,
according to what I've read.

 

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 16:47
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

Do you think this code below actually closes the program?

It looks like it just suppresses what we see but not close the program
itself.

I went through this document and it talks about opening the reader but so
far nothing about closing it.

 


/s

Opens Acrobat or Adobe Reader, suppressing the splash screen.


/o

Opens Acrobat or Adobe Reader, suppressing the open file dialog.

 

By the way, I appreciate your help.

I am real close to what I want.

 

James Belisle

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Emmitt Dove
Sent: Thursday, January 13, 2011 3:26 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/intro_to_sdk/D
eveloperFAQ.pdf#page=27

 

 

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 15:15
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

Emmitt,

 

You have been a real help.

I got it to print with multiple parts and that is what we want.

 

The 2 items I need to address are these:

How do I get rid of the adobe screen automatically?

I put a CLS code in the footer where it launches but that did not care for
it.

 

Can I collate the items printed by adobe so each part has the pdf with it?

Right now all the part travelers print then all the PDF files.

 

James Belisle

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Emmitt Dove
Sent: Thursday, January 13, 2011 1:41 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

Look at Razzak's example.  He is building up a string to launch Acrobat with
parameters that print the document, not display it on the screen.  The /p
and /h do that.

 

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 14:13
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

Emmitt,

 

I did use the LAUNCH command as mentioned in the email I just sent and it
printed to the screen.

Since I want to automate this so it goes immediately to the printer, I
assume I need to add parameters.

I need to do this because the production manager does not want to have to
hit print for each part we are working on.

 

If I have 20 parts we are working on this is what I want:

Each traveler will print (they have the processes in order) then the PDF
associated with that part.

This would happen 20 times as one print job.

 

What parameters would I need to add to the LAUNCH command to accomplish
this?

 

James Belisle

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of Emmitt Dove
Sent: Thursday, January 13, 2011 12:49 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print Pdf within report

 

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