faqts : Computers : Programming : Languages : PHP : Function Libraries

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 7 people (71%) answered Yes
Recently 5 of 7 people (71%) answered Yes

Entry

is there any function for printing a web page using a printer in php???

Apr 23rd, 2004 01:54
Praveen Kumar Kukkapalli, johan,


There is no function to print the page in PHP instead you can use the
Java Script to print a page. with the below code.
Keep the below code in a web page where you want to print.
<a href="javascript:window.print();">Print</a>