a small set of file and instructions to convert html to pdf which i picked  from http://imron02.wordpress.com/2013/11/20/create-pdf-in-codeigniter-part-ii/