Page 1 of 1

how to print out a form using php ???

Posted: Thu Nov 02, 2006 11:29 am
by schumywan
i have a form that create using php.. now i wanna print in out. how can i print it out in php ???

thanks

Posted: Thu Nov 02, 2006 11:33 am
by Luke
well unless you want your server to print it out... you can't. You need to use javascript or something...

Code: Select all

window.print()

Posted: Thu Nov 02, 2006 12:17 pm
by John Cartwright
Printing from the browser has serious limitations. Your best bet is to generate a PDF document with the auto print flag. Search these boards for "auto print".