hi,<br><br>I want to print the result of php file.<br>ex: onclicking a button i want to print the the resultant page(form).I don't want to use the print option given by the editors<br><br>please help me<br><br>thank you in advance
A web page, by definition, does not have any access to your PC. So, you can't define your own functions, for example, to spool the page directly to the PCs spooler. For a start, it might not even be a PC that is looking at your page.<br><br>This leaves you with the print functions offered by the browser. The person viewing your page can select "File/Print...", or press the "Print" icon, and the page is printed. The closest you can get to this on a web page may be to create a button that calls some Javascript to access the browser's print function. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
Thank you for the information.I tried to access the browser's print function but i am unable to get the reference.If you provide a sample code then it will be very<br>helpful to me.<br><br>looking forward for your reply<br><br><br>regards<br> asha<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.