Just like I customize the CSS print for a page, I want to be able to convert the page to PDF.

Many plugins I tried just display main content of the page or post without design; just plain text. I want to be able convert the page to PDF as it is.

Is there a way to do this even without a plugin?

  • Yes, you can do it but it isn't something as simple as hacking HTML. If you don't use a plugin you'd end up writing one, more or less. And there are a lot of questions about this already. Look to right under "Related". – s_ha_dum Nov 20 '12 at 15:14
  • @s_ha_dum I browsed some related questions, but not so much info. Someone suggested to use FPDF library to do that but i think this will take so much time as I'm not fluent in PHP – Ahmad Ajmi Nov 20 '12 at 15:32
  • Close-voted as off-topic. CSS print stylesheets and printing to PDF are not WordPress specific issues. – Chip Bennett Nov 20 '12 at 17:32

WP-MPDF has always worked extremely well for me and has a decent templating system you can override. Thanks!

  • Thanks Zach for recommending this plug, although I tried it before asking the question but I didn't give so much attention to the amazing template system. But now and with customization it did what I want. Thanks – Ahmad Ajmi Nov 21 '12 at 13:28
  • Great to hear! Have fun :) – Zach Nov 21 '12 at 13:43
  • Unfortunately the plugin is deprecated now, afaiu :( – Felix Feb 26 '19 at 13:46

My recommendation would be to try this free toolkit and convert a Wordpress pages into a pdf file, it worked very well for me.

It has a friendly interface and it's easy to use.

  • 1
    I'm pretty sure this was asked because there was WP integration needed and not a random webservice. Btw, I tried the service and it returns 404s on every link I fed it with when I tried to view the PDF. Please mind the scope of the site for later answers. Thanks. – kaiser Jan 16 '15 at 9:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.