Restart your web server when you make changes to php.ini. Also, note that these functions are for the printer on the server, i.e. where the code is running.
---John Holmes... ----- Original Message ----- From: "Sqlcoders.com Programming Dept" <[EMAIL PROTECTED]> To: "php general" <[EMAIL PROTECTED]> Cc: "J. Wharton" <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 1:29 AM Subject: Re: [PHP] printer_open > Hiya!, > Have you tried adding this line in the very top of your script (just inside > the opening <? ): > DL("php_printer.dll"); > > (this call to load a dynamic extension must occur before any printer_ > related functions, if it works at all) > > Usually that works for me, if it doesn't work for you then check that you > have the php_printer dll and that it's in the appropriate directory. > > HTH, > Dw > > Sqlcoders.com Dynamic data driven web solutions > ----- Original Message ----- > From: "J. Wharton" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: May 21 2002 11:19 AM > Subject: [PHP] printer_open > > > > I'm attempting to use the printer_open function in php, and am getting the > > following error: > > > > Fatal error: Call to undefined function: printer_open() in c:\program > > files\apache group\apache\htdocs\new\aview.php on line 209 > > > > I've tried commenting and uncommenting the extension=php_printer.dll > > line in php.ini with no results. > > > > Help! > > > > J. Wharton > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php