473,388 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to convert ASP page into PDF when user clicks a button?

46
Hello experts.

Could any one suggest me how I could convert an asp page into pdf (on-the-fly) when a user clicks a button on a web page.

Waiting impatiently for your reply.

Giandeo
Jul 14 '08 #1
5 4068
jeffstl
432 Expert 256MB
PDF is a proprietary format.

The ability to "make" a PDF is part of what makes Adobe money. (Acrobat 8 is quite an expensive package)

I don't think this would be an easy task.

With that said, I will say that there is a software tool from Adobe called Adobe Live Cycle, which works with XML, XFA type of datasets and produces pdfs. There is also a snippet of php code that will generate a .FDF (which is a data file that is used to populate an Adobe PDF Form. ), or sometimes .PDF files.

PHP\PDF Tutorials

Another general direction I would give you is to look into generating XML data, because many of the PDFs today can utilize XML with XFA to produce a PDF.
Jul 14 '08 #2
jhardman
3,406 Expert 2GB
There are a few articles out there about how to fill out a pdf form using asp, there is also an application I ran across a while back called "ASPPDF", I'm not sure how much capability it has.

Jared
Jul 16 '08 #3
jonpfl
31
I am actually using ASPPDF in our current system.

It is pretty easy to use but you end up doing alot of trial and error when creating PDFs (ie making sure the spacing is correct)

If you have specific questions, let me know and I will try to answer them

Thx
jonpfl
Jul 17 '08 #4
vel
12
i am also having the same problem..
can anybody solve this problem to make a pdf file....
Jul 18 '08 #5
danp129
323 Expert 256MB
There are various commercial PDF controls. Make sure you get one that can convert a URL into a PDF, it will make things much simpler they trying to dynamically generate a PDF. Just take any user submitted data and store it in a DB and have the pdf control request a page that lays out the user information and your site content in a normal html/asp page.
Jul 22 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: mgm | last post by:
How do you get a web app to not show the 'page has expired...' error and refresh and requery when you hit the back button after submitting a form? I just want the old data to still be displayed in...
4
by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I...
8
by: Galina | last post by:
Hello I have 6 dependent list boxes on my ASP page:  Faculty;  Lecturer;  Course;  Course occurrence;  Group;  Week commencing date. When faculty is selected, lists of lecturers and...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
4
by: PK9 | last post by:
I have a button at the top of my page that I have an onClick event handler for which makes some new controls (at the bottom of my page) visible. When the user clicks the button I make the new...
3
by: Marc Robitaille | last post by:
Hello, I have a Web page with several ASPX Textbox. I added to my page a property which enables me to know the state of this one. The values of this property are: Consultation Modified New...
10
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
6
by: divya | last post by:
I have a page name edit.asp which should expire immediately .The user cannot open this page directly he has to provide a password for entering this page.thus when the user enters edit.asp , it has...
3
by: mrajanikrishna | last post by:
Hi Friends, I am accepting a number from the user entered in a textbox. I want to assign to a variable in my code and assignt this to that variable. double num1 = (double)txtNum1.text; ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.