Re: Printer Functions
| From: | Marek Kilimajer | Date: | Fri, 03 Oct 2003 22:12:09 +0000 |
| Subject: | Re: Printer Functions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164999@lists.php.net to get a copy of this message | ||
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