Skip to main content

HTML page to PDF conversion - Codeigniter library

Step #1 Download the library from the URL
https://github.com/iamfiscus/Codeigniter-DOMPDF/archive/master.zip

Step #2 Unzip the master

Step #3 There will be three folders

a) controllers
b) libraries
c) third_party

copy all these folders to <your application path>/application/ folder

Step #4 Create a view file and name it "welcome_message" and type some HTML content there

Step #5 There will be the sample controller. Access the controller by
http://localhost/<your project name>/demopdf_test


Step #6 Now the pdf file will be downloaded



Source:https://imron02.wordpress.com/2013/11/20/create-pdf-in-codeigniter-part-ii/?blogsub=confirming#blog_subscription-3

Popular posts from this blog

#ThankYouCitrisys

MAY 5, 2015 an unforgettable day in my life. Why this award is so special to me? Because, after 8 years (After completion of Engineering), I landed on a good place where they identified me and involved me in the good projects with suitable PMOs. With all their support in Citrisys, I did small things with my involvement. For that, Citrisys, awarded me this "Award of Excellence". This award not shows me the best performance, but, it shows me to work more and more. Thank you Mr.ARA (CEO, Citrisys Solutions) for this award. #ThankYouCitrisys

Citrisys Poster Competition work 02