Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to print an image using PHP: Printer

I have a printer directly attached to my PC and i am able to print texts using PHP. what I want to know is, how can I print an image using the same php functions?

thanks

like image 752
Prakash Avatar asked Apr 30 '26 10:04

Prakash


1 Answers

Try having a look at http://www.php.net/manual/en/function.printer-draw-bmp.php and see if that helps...

like image 151
Arno Avatar answered May 02 '26 00:05

Arno