printing with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
babaurhum
Forum Newbie
Posts: 1
Joined: Fri Jun 13, 2003 4:06 am

printing with PHP

Post by babaurhum »

Can someone tell me where I can find an example of using functions of php_printer.dll.

I do :

$handle = printer_open();
printer_start_doc($handle);
printer_start_page($handle);

//...

printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);

but nothing is printed.
While my document is open, I find it in the spooler of the printer, but it is never printed and when I close the window of IE, the document disappear for the spooler of the printer.
Post Reply