943,727 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 4848
  • PHP RSS
Jan 20th, 2009
0

HTML to PDF and print

Expand Post »
Hi!

I am creating a simple website, and I would like to have an option on one page to print the contents of the page by clicking a button, or seeing it in PDF format by clicking another. What is the simplest way of doing this?

Mladen
Similar Threads
Reputation Points: 14
Solved Threads: 0
Light Poster
Maidomax is offline Offline
39 posts
since Dec 2006
Jan 20th, 2009
0

Re: HTML to PDF and print

I use the ezPdf class from:

http://www.ros.co.nz/pdf/

I think pHp has some pdflibs in the PEAR/PECL repository, but I found the ezPdf really easy.

I got into this when reading Web Database Applications with PHP and MYSQL by Williams and Lane (2004) from O'Reilly.
Sponsor
Featured Poster
Reputation Points: 1048
Solved Threads: 946
Sarcastic Poster
ardav is offline Offline
6,678 posts
since Oct 2006
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Yayo_SK is offline Offline
11 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Checking for going up a Directory
Next Thread in PHP Forum Timeline: Dispaly Each First character is capital ??





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC