These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Add button to web page to convert it to PDF

aslider
Registered: Oct 23 2010
Posts: 2

How do I add a button or link to a web page that will allow visitors to view or download a PDF version of that page? The PDF should be editable if opened in Acrobat.

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If the user has Reader installed on their system then the browser will recognize the ".pdf" file extension. So simply placing a direct link to a PDF file should display it in the browser. There is however a way to have a more controlled display by using the HTML object tag. Here's an example, the example is on how to setup a communication link between Acrobat and the HTML page. Ignore this, just look at how it loads the PDF into a frame window.

http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm

Any PDF that is enabled for form filling on Reader will be editable, which can be done from the advanced menu in Acrobat.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

aslider
Registered: Oct 23 2010
Posts: 2
That is helpful, but I am looking for a way for the visitor to convert the page into the PDF. For example, I can add a button that says "down load a PDF of this page". What happens on the server for them to get a PDF of the page? Do I have to have Acrobat installed on the server to make the conversion and then present it to the visitor?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Sorry, on the client side only acrobat can convert a web page to PDF. So this has to be done with a server side tool.

For Example: http://www.web2pdfconvert.com/


Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script