• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Create pdf_document from database!!

I don't know if this question should put here!!
I have a webpage useing SQL_database,
I want to create pdf_document or Word_document or pagemaker_document direct from post that I pick up from the database, How can I do or if I can do that??
1 Solution
ruisunAuthor Commented:
Adjusted points to 150
I have successfully written and deployed a system that outputted both PDF's and Word 2.0 documents from a SQL Server Database.

Essentially, I used two middleware components -- Cold Fusion and Crystal Reports with a custom Cold Fusion tag that converts Crystal Reports templates to PDF or Word.  You'll need to install Cold Fusion on your server and obtain a copy of Crystal Reports to format your template.

Point your browser to http://www.allaire.com/developer/gallery/index.cfm?ObjectID=7259
and pick up the custom tag that does all the work. There should be a PDF document explaining how to do everything.  If not, let me know and I'll forward it to you.

Basically you use Crystal Reports to format your database information into a template file, then write a Cold Fusion script that calls the custom tag, passing it the Crystal Reports template information.

Good Luck.
We have a database maintained in an SQL server that is offsite.  We also want to allow users to the website to not only see the results of their queries, but also to view and download parts or all of the database as a .pdf file.  Since we don't have a work around yet, we are manually updating a WordPeferct table each time we add new data or removed all data - and WordPerfect has been abondoned by our agency - and then letting the users view the database in a .pdf format built from the WordPerfect table.  

Are there mainstream tools - such as from Adobe, MicroSoft, etc, that will allow us to build the .pdf on the fly for the web user?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now