Reputation: 701
I am creating an application in PHP and want to give a command to a printer but problem is that there are more than two printers and I want to give the command to a different printer by clicking on different button without the print dialog.
Upvotes: 0
Views: 989
Reputation: 100195
you can use:
printer_list()
function to get list of printers attached to server, and then use:
printer_open
to open connection to printer providing printer name as parameter to the function. I hope that helps you to some extent
Upvotes: 1
Reputation: 20404
In online web applications you can't.
A workaround could be to write Java Applet
or in IE
you can do this via ActiveX
controls.
Upvotes: 0