art15 Posted May 2, 2008 Share Posted May 2, 2008 Hi All, I was wondering if it is possible to include a function on my page which print a part of page I desire when a user clicks a check box on a webpage to print a specified part and hits print on the webpage(not the browser print button)? thanks Link to comment https://forums.phpfreaks.com/topic/103828-print-a-part-of-page/ Share on other sites More sharing options...
art15 Posted May 3, 2008 Author Share Posted May 3, 2008 Hi guys. Can any one from the forum help me with this question. Thanks Link to comment https://forums.phpfreaks.com/topic/103828-print-a-part-of-page/#findComment-532386 Share on other sites More sharing options...
hamza Posted May 10, 2008 Share Posted May 10, 2008 Its quite simple to do it. you can do this with the help of javascript and div tag of html Javascript : the code is simple window.print; will print the page or send the command to the printer HTML: the code is simple use the div tag actually div tag select the particular area of the web page the put the particular area of you website you are willing to include in your print just put the all area in thediv tag .that it Link to comment https://forums.phpfreaks.com/topic/103828-print-a-part-of-page/#findComment-537387 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.