Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need DataReport to output in PDF format 2

Status
Not open for further replies.

dotnetprogrammer

Programmer
Aug 17, 2000
77
0
0
US
I need DataReport to output in PDF format.
Any suggestion? Any help is appreciated!
 
If you have Adobe installed you would select Adobe PDF Writer as the active printer and send your output to it. I don't have the Adobe documentation on hand to check on ways to automate the process of writing the PDF from within your app but it shouldn't be much harder than writing to a standard printer.
 
Alt255,
Thanks for your response! I wonder if Adobe makes Acrobat "Output Engine" in ActiveX format (or some kind of plug in, like Seagate Crystal Reports does,) which would allow me to generate Acrobat document/output from within VB.
I appreciate your input regarding the matter!
 
When you find this out tell me, i've been researching for quite some time.
 
Sorry about posting what may have been a lame tip. My company is in the process of converting its official documents to the PDF format for easy access and control over the company intranet. I had thought it would be handy to create a VB app to manage and manipulate the docs and, I must confess, I was pretty excited during the 20mb download of the Acrobat SDK.

My excitement wore off when I found that the SDK presumes the use of C or JAVA. Adobe includes a few wimpy VB sample projects (they show ways to open PDFs in child windows, search for text, insert controls in a document, etc...) but implementing some of the more useful features could require much more research than one might assume.

I don't mind the research but, in this instance, there is little time for blind experimentation or plodding through countless HTMLs and PDFs looking for an answer that may or may not exist.

Does anybody know of a web-site slanted toward Acrobat VB developers?
 
Well Alt255 thanks for response again. In the mean time I will continue to Print using Acrobat Distiller or Acrobat Writer (resultant size seems to be about the same).
Once again, I appreciate your input regarding this issue!
 
How do you avoid user interaction with regards to saving the file? What I mean is creaying a PDF and forcing the file name and saving as it were from VB.
 
>>> saving as it were from VB.

That was exactly what I like to do! I like to know the answer as well.
 
Well... I know it can be done... the Adobe license agreement for the SDK specifically prohibits creating an application that both, allows the user to view an Acrobat file and allows the user to write to an Acrobat file.

We just haven't figured out the second part, yet.
 
Maybe I should take back my last post. I just spent a couple of hours at (a help forum for Acrobat users and developers). Of the 600 or so posts relating to Visual Basic, one of the most common questions was "How do I write a PDF file using VB?". The most common answer was "The Acrobat SDK won't let you do that. You need to use a plugin written in C." I don't take that as a definitive answer but I interpret it as a hint that perhaps we are barking up the wrong tree.

There are some tasks that VB was never intended to perform. Here are links to some of the plugins mentioned at acrobuddies (none of these are free and some cost hundreds of dollars).


You can also find a good set of programming resources at
Good luck and God help us all.
splatsmil.gif
 
We use the ACG PDF and Mail Library add-in which exposes some great VB methods and properties and a reasonably concise help file. I don't know what it's price is, but my boss bought it, so it HAS to be cheap. Also can't send you to a website, but a quick web search ought to turn up something. (We actually automate some production reports to send themselves out as .pdf e-mail attachments, all thru VB & VBA[Access]). Good luck.....
-Geno
 
Check out: and the PDF converter.

It's not inexpensive, but it is a royalty-free developer's solution. It works very well and gives you program control over output.

If you are not looking to distribute PDF capabilities, Acrobat Writer/Distiller would probably be the way to go.

HTH
 
Hi Group,

Please correct me if I'm wrong, but the bottom line -- or at least one of the bottom lines to this thread -- is the following:

If you want to create (or convert flat files to) type ".pdf," and you only have Acrobat Reader, accomplishing such a ".pdf" creation/conversion task in VB is impossible without purchasing other software?

Thanks for your time, SL.
 
Hi,

There's a very inexpensive reporting tool that will view the data and also allow you to export to pdf. The costs for either the std or professional version are very low. The product is ActiveReports by DataDynamics.

Stephen
 
I don't know if this helps anyone, but I had posted a question about the Crystal Report Viewer & exporting from that to PDF. I know the initial request in this thread was DataReport to PDF, but if any of you have the option of using Crystal instead, this might help...

thread222-253017
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top