R: [PHP] control Printer with PHP

From: Date: Sat, 06 Jan 2001 08:19:36 +0000
Subject: R: [PHP] control Printer with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-33025@lists.php.net to get a copy of this message
onLoad = "javascript:window.print();" // IE4 returns error, IE5 is ok instead (the PRINTER selection Window pops up) But HERE http://www.webreference.com/js/tips/991029.html you find a complete explanation and Cross-browser function -----Messaggio originale----- Da: Richard Lynch <richard@zend.com> A: php-general@lists.php.net <php-general@lists.php.net> Data: sabato 6 gennaio 2001 5.36 Oggetto: Re: [PHP] control Printer with PHP >Nothing server-side can control a user's printer, I'm pretty sure: And PHP >is running on the server, and never really sees the user's computer. It >just spews out HTML (or whatever) to the browser. > >There *might* be some JavaScript hack that could *maybe* do this, but I >wouldn't count on it actually working on many people's computers -- Probably >would crash a lot of 'em, especially any that didn't have printers... But I >think I have seen some "Print" buttons on some web-sites. Gotta be >JavaScript, almost for sure. So you could probably modify that to happen >onLoad() at the end of the HTML. > >----- Original Message ----- >From: "Tibbar" <tibbar@tibbar.com> >Newsgroups: php.general >Sent: Friday, January 05, 2001 8:26 PM >Subject: [PHP] control Printer with PHP > > >> By any chance PHP can control the printer? When a page is loaded, would it >> be possible to print that page out simutaneously? >> >> Thx! >> >> Tibbar >> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> For additional commands, e-mail: php-general-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#33025) next »