Wordpress, Combining ContuttoPDF with Code Snippet Plugin to get your code sample printed on the PDF
Posted by Daniel - 750 Views
I also use Code Snippet plugin. It’s a plugin to provide syntax highlight for programming code within the post. I want the formatted code produced by the Code Snippet is also printed in the PDF output with the same appearance as what Code Snippet does on the web page.
But unfortunately it won’t happen automatically, the ContuttoPDF does not recognize the Code Snippet formatting request tag when producing the PDF file, so you need to modify the code to get the intended result. Here is the list of steps you can follow to get the Code Snippet format printed on the PDF file:
Customizing the PDF file created with ContuttoPDF Wordpress Plugin
Posted by Daniel - 1,741 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:
Wordpress, How to insert the Gravatar icon into the comment section
Posted by Daniel - 1,008 Views
When I was blog-walking to several blogs, I saw not all of them but most of them use Gravatar icons to represent the commentator’s email addresses - its cute. Gravatar or Globally Recognized Avatars is basically a 80 x 80 pixel image used to represent your email address. If you do not have any gravatar yet you can got to gravatar website then signup yourself to get it - it’s simple.
OK, now lets find out how you can retrieve the gravatar of each commentator’s email address on your blog. First open your comments.php file - commonly it is placed on your current theme folder - with your text editor.
ContuttoPDF (Wordpress Plugin to convert your Content to PDF)
Posted by Daniel - 3,652 Views
Before I finally found this plugin, I had been using MS-Word Printer Addins which only provide limited flexibilities for example they won’t transfer MS-Word hyperlink into the created PDF file and that is not the result I want get.
OK lets talk about this plugin. ContuttoPDF is a Wordpress plugin which I think you should have when you need to convert your WordPress post content into PDF file. It’s a great plugin and it’s relatively quite easy to install and yes it will transfer your hyperlink to the created PDF - perfect enough for me…
The first alpha version of simon - open source speech recognition suite - has been released
Posted by Daniel - 458 Views
The first alpha version of simon has been released! It is neither stable nor feature-complete, but it should give you a pretty good overview of what simon will be like. The project provides a ready-to-use interface for the julius CSR engine for a handicapped child which is not able to use the keyboard well. It integrates into X11 and Windows.
The project was started by a group of four students who try to make life easier for Tobias Pölzl - a spastic kid who has trouble typing with a normal keyboard.
Programming Tips
- 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
- Visual Basic Version of ASCII-to-PDU and PDU-to-ASCII Converter Functions
- How to Get User Input and allowing more than 256 characters to be entered on .NET Console Application
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!




