How to print an image using PHP: Printer

I have a printer directly connected to my computer and I can print texts using PHP. what i want to know how can i print the image using the same php functions?

thank

+3
source share
3 answers

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

+3
source

Check the documentation: http://www.php.net/manual/en/book.printer.php

But I don’t see anything for printing image files in the documentation.

0
source

(.bmp).
, , : http://www.php.net/manual/en/function.printer-draw-bmp.php

- d- pdf/postscript printer_write ( "filename.pdf" ).

.

PHP printing is really cool: D

0
source

All Articles