Link to home
Start Free TrialLog in
Avatar of rbroome
rbroome

asked on

Producing PDF output

Does anybody know a way that I can produce a document in Acrobat (PDF) format from within a VB program? Maybe via an ActuveX control, or via Crystal? I actually want to be able to send it as an email attachment.

The email part is no problem, but how do I get the output into PDF format?

Any clues would be greatly appreciated!
ASKER CERTIFIED SOLUTION
Avatar of raanand
raanand

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marcj1
marcj1

Part of our mission critical app does this.  The specifics I donot know, as I didn't work on that project.  However, I know it involves a product called Adobe Distiller.  Our implementation coverts Word and RTF docs into a PDF format then mails them via an MAPI.  I am certain, though that the heart of the beast is the Distiller product.
The Adobe disk that has distiller also has the Adobe PDF Writer. This installs on your system as a PRINTER and EVERYTHING that prints is automatically converted to .PDF. No special coding effort required anywhere. Set the Adobe PDF Writer as your default printer and *EVERY* program that can print is automatically "PDF Capable".

M
Mark2150 is right...

Cheers!
mark2150 is right, we use the same here to convert Tiff to PDF.

Also, here are some links to PDF ressources :
http://www.15seconds.com/issue/990902.htm
http://www.codecuts.com/ (lots of sources to creat PDF in C and so, maybe you will found for VB)
Also, You can create a  Printer which will generate a postcrypt file on your machine. You can run this file through Acrobat Distiller to generate PDF file.

To crate a Printer, go to Settings->Printer->Add Printer-> My Computer->use file as a Port.

-Ginde
Avatar of rbroome

ASKER

Ok, so this all looks good, and I appreciate the thoughts.  How do I, having sent the output to the Acrobat printer (and thus turning it into a PDF file), tell it what to name that PDF file, so i can then attach the PDF file to an email message.

Does the PDF printer somehow tell me the file name, or do I give it one? How does this work?

Unfortunately Adobe don't have a downloadable demo of the PDF writer for me to explore this with.
When you start to print the document you'll get a little dialog prompting you for the file name and with a couple of check boxes for setting the file information or launching the editor tool. I normally use the editor tool to make the thumbnails, setup bookmarks, add notes, etc.

Yes, Adobe wants you to *BUY* the product, but believe me it is well worth the money. With a little practice you can do some really sophisticated stuff with it.

Also, why did you give points to raanand? His "answer" was basically "dunno"? You should have rejected it and told one of the posters that gave you a better answer to post for points...

M
Mark2150,

rbroome has posted a Customer Service question asking me to award these points to you as he wanted you to haev the points.

I have posted a question in this topic area for you to claim the points.

IanB
Community Support @ Experts Exchange
Why thank you rbroome! It was very courteous of you.

Also, feel free to drop by the web page, www.cyberchute.com/rvbus/madmark and check out some of the stuff I've been doing with .PDF. I think you'll be surprised just what you can do with it. Look in the "Work Output" section...

M
This cost me 20 points !!!
There is no answer other than to use the PDF writer that comes with acrobat.

What a JOKE !
Squid_oz.

I'll post a 20 pointer and give you an A if you'ld like...

M