how to print a web page using php code only ?is it possible are not ? i am using **php5.3.8 **version

printing is at the control of the user, taking control of remote hardware is frowned upon,

Hello,
you can use javascript window.print method to print web page using php and javascript.
I am using following php example to print Visitor Card.

Example:Print page in php