colap Posted December 14, 2015 Share Posted December 14, 2015 I have html files. There would be a print link/anchor in html page. If i click the print link, it will convert the html to pdf then it will print the pdf file. How can i do it? Quote Link to comment Share on other sites More sharing options...
Barand Posted December 14, 2015 Share Posted December 14, 2015 there are some conversion programs around http://lmgtfy.com/?q=php+html+to+pdf+conversion Quote Link to comment Share on other sites More sharing options...
ginerjm Posted December 14, 2015 Share Posted December 14, 2015 Why not just use a pdf printer driver in your browser? Or better yet - design a better output more suited to a print-job rather than a web page and use a pdf extension such as FPDF in your php script to output it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.