Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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