3

I have a PHP site in which I have Button Named save as PDF for each post of site.

When I Click this Button I need to save the subject of the post and post contents as PDF and Display it.

I dont use any asp.net code in my site.

Thanks for your help

Javad Yousefi
  • 2,250
  • 4
  • 35
  • 52
  • You want to generate the pdfs for yourself only, or for all of your users? – Marc B Feb 23 '12 at 16:14
  • possible duplicate of [Create a PDF file with PHP](http://stackoverflow.com/questions/1204630/create-a-pdf-file-with-php) and http://stackoverflow.com/questions/4365698/create-pdf-pages-in-php – Quentin Feb 23 '12 at 16:17
  • @ Marc B : I want to generate pdfs for all of users. – Javad Yousefi Feb 24 '12 at 15:40

2 Answers2

2

I like PrintFriendly.com but this might not be what you are looking for.

Olivier.Roger
  • 4,241
  • 5
  • 40
  • 68
0

Did you check wkhtmltopdf ?

Slawek
  • 583
  • 3
  • 9