Re: printer_open

From: Date: Wed, 22 May 2002 06:44:18 +0000
Subject: Re: printer_open
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-98655@lists.php.net to get a copy of this message
hiya, there's not that much you can do directly (i.e.: without some activeX controls which the client has to accept and then only work on IE), you can print a document in JavaScript with window.print(); Something like this would work if you wanted to print the document on screen: (in the body tag) <body onLoad="window.print();"> HTH, Dw Sqlcoders.com Dynamic data driven web solutions ----- Original Message ----- From: "J. Wharton" <joshwhar@cc.usu.edu> To: <php-general@lists.php.net> Sent: May 21 2002 12:13 PM Subject: Re: [PHP] printer_open > I wish they had noted this in the PHP manual. Does anyone know of a way to > manipulate the client computer's printer orientation? > > ================================ > J. Wharton > > "1lt John W. Holmes" <holmes072000@charter.net> wrote in message > news:006101c20101$6c3ae7b0$2f7e3393@TB447CCO3... > > 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" <coders@sqlcoders.com> > > To: "php general" <php-general@lists.php.net> > > Cc: "J. Wharton" <joshwhar@cc.usu.edu> > > 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" <joshwhar@cc.usu.edu> > > > To: <php-general@lists.php.net> > > > 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 > >

« previous php.general (#98655) next »