RE: [PHP-WIN] printing directly from php

From: Date: Fri, 07 Dec 2001 05:47:18 +0000
Subject: RE: [PHP-WIN] printing directly from php
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10783@lists.php.net to get a copy of this message
php_printer.dll Chances are it is installed, but not enabled. Check C:\php\extensions (or wherever you installed to) to see if it is there. If it is then fire up php.ini and uncomment the line that says: extension=php_printer.dll You'll probably need to specify your extensions directory by putting this line: extension_dir = C:\PHP\extensions somewhere before the extension= lines. Ross -----Original Message----- From: daniel cozzolino [mailto:danielc@anglissconsulting.com] Sent: 07 December 2001 05:30 To: php-windows@lists.php.net Subject: [PHP-WIN] printing directly from php Hi all, I would like to print directly from php to the client default printer. i tried using the code example from php.net: $handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle); but get Fatal error: Call to undefined function: printer_open() which leads me to believe i am missing a library file. ?? I am running IIS v5 on Win2000 with PHP v4.06 Thanks Dan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10783) next »