Customizing the PDF file created with ContuttoPDF Wordpress Plugin
Posted by Daniel - 1,744 Views
As I said before on the previous post, ContuttoPDF is a great plugin for WordPress to convert your post into PDF file. It’s a powerful one and the PDF output can be easily customized by CSS styling.
The easiest way to start tweaking the PDF layout will be to modify the ContuttoPDF default theme. The theme files are located at /wp-content/pdf-themes/default/.
To get a simple design you will only need to modify the style-print.css file. For example, the layout of the PDF file for this blog can be achieved by modifying these CSS elements only:
At this moment, my approach in customizing the PDF output is based only on trial-and-error since I don’t quite understand the concept or the proper way to do it but I had proved that playing with those CSS elements on my style-print.css will give me a readable and an acceptable PDF output created with the plugin. I would love to learn if you know a better way - feel free to tell me about it please…
If you want to use my style-print.css as your starting point to modify the ContuttoPDF output you can get it here (1 KB). To check the resulting PDF file, you can click the “This page as PDF” link at the footer section of this post.
If you also install the Code Snippet plugin and need to know how to combine it with ContuttoPDF so your formatted code is also printed on the PDF file, you can read my post here.
__________________________
The following posts are programmatically considered as related to the current post by YARPP Plugin:
- ContuttoPDF (Wordpress Plugin to convert your Content to PDF)
- Wordpress, Combining ContuttoPDF with Code Snippet Plugin to get your code sample printed on the PDF
- The Code Snippet Plugin, my favourite syntax highlighter plugin for WordPress
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer
- Downloading file and extracting ZIP compressed file with Visual Basic.NET
Related posts brought to you by Yet Another Related Posts Plugin.
Latest from Programming
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- Free Softwares to help you learn Regular Expression or to enhance your RegEx skill
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
3 Responses to “Customizing the PDF file created with ContuttoPDF Wordpress Plugin”
Leave a Reply
Latest Blog Entries
- Sweet Home 3D, a free home design software
- 26x Optical Zoom on a Compact Digital Camera?
- Windows 7 Release Candidate is now available
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- The Lack of Chances is the Source of Poverty, Can we make a different?
- SmartFTP Client is no longer Free. What would be the best replacement for it?
- Kantaris Media Player, The most suitable Free Media Player on my Audio Environment
Categories
Neighbours and Friends
- Anti Teori
- Busby SEO Test Page
- Deny Sri
- Digital Media Convert
- Freeware Maniac
- Oeroek
- RidhoCyber
- Suraja Web
Comments - Thanks Guys :)
Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
Marlena Albu: Super Blog, Dude! I am constantly on the watch for new and interesting sites and postings about audio equipment… which is what...
tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.
Sean: This is a great piece of code and thanks for adding the updates. Sean’s last blog post: Not All Text Message Marketing Is Created...
rodhy: Thank for your code, it very usefull for me. best regard.
Most Popular Entries
- Passing arguments to your VB.NET console application
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- An example: Using CPort Delphi Component to read data from your cellphone
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
Software Collections
- Sweet Home 3D, a free home design software
- SmartFTP Client is no longer Free. What would be the best replacement for it?
- Kantaris Media Player, The most suitable Free Media Player on my Audio Environment
- TCPView for Windows, Tool to check TCP and UDP Connections on your system
- The Code Snippet Plugin, my favourite syntax highlighter plugin for WordPress
Blogging Related Stuff
- Change the WordPress permalink structure to the best format, and yes it’s a little bit scary :D
- Something is wrong, the Google Search Result from my blog looks bad, don’t laugh please :D
- Several tips to reduce Blog Noise, especially when your blog covers more than one niche
- How to remove your indexed pages or even your entire site from Google and Yahoo!


















October 31st, 2008 at 9:48 am
Thank you! Your style css is awesome. I’m going to start customizing with it. Thank you :D
Miss Lunatic’s last blog post: Pitas y guacamole
October 31st, 2008 at 10:07 am
@Miss Lunatic: You’re welcome! Btw, your blog looks delicious, and what is that orange ball at the center of Pizza Pamplinosa? :D
October 31st, 2008 at 12:13 pm
Jaja, it’s a yolk. Thanks for the compliment ;)
Miss Lunatic’s last blog post: Pitas y guacamole