Re: Printer Functions

From: Date: Sat, 04 Oct 2003 00:46:17 +0000
Subject: Re: Printer Functions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-165010@lists.php.net to get a copy of this message
php.net/printer: "These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4. Installation Add the line extension=php_printer.dll to your php.ini file." On Friday 03 October 2003 02:15 pm, 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 -- Evan Nemerson evan@coeus-group.com

« previous php.general (#165010) next »