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

Recommended Answers

All 3 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.