Check the manual. It's windows only extension, you must have php_printer.dll in your extension directory and
extension=php_printer.dll must be in php.ini



Roger Spears wrote:
Hello,

I was wondering if anyone has had any level of success with printer functions.

I'm trying to get the following code to work:

<?php
$handle = printer_open();
printer_start_doc($handle, "Hello World");
printer_start_page($handle);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>

I get the following error: "printer_open() is an undefined function". I'm guessing that the printer functions were never installed with my version of PHP?.?.?.? I'm currently running PHP Version 4.3.3

Thanks,
Roger


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to