Re: Direct output to printer

From: Date: Thu, 05 Apr 2001 14:18:59 +0000
Subject: Re: Direct output to printer
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-47263@lists.php.net to get a copy of this message
Thank you folks for your speed of light answer. I must get some new specs, I spent a long time searching through Greenspan and Bulgers book for that. No problem finding it now.. The output to printer problem can now be rested Thanks again I owe you one Tim LB ""Knut H. Hassel Nielsen"" <Knut.H.Hassel.Nielsen@idi.ntnu.no> wrote in message news:Pine.GSO.4.33.0104051412300.26693-100000@hades.idi.ntnu.no... On Thu, 5 Apr 2001, Plutarck wrote: > Ah, the joys of strlen(). > > That's your first question, but now for the second. > > Sending data directly to the printer is basically a client side function, > and as PHP is totally server side it just can't do it. Not technologically > possible. > > There are some "printer direct" type programs around, and you can certainly > figure out a way to make PHP work with those, but that's about all you can > do. Well... If you can get 'lpr' to except requests from 'nobody' you might just have a solution ( AND a problem ;) ) ('nobody' is here pointing to the user set up to run your webserver-processes. 'lpr' is a standard print under unix) But as Plutarck just said : It's client-side stuff, and all dependant on what you use and if that client can do it. I know that Netscape doesn't accept this kind of requests. -- Knut ------ Knut H. Hassel Nielsen Principal Engineer / Avdelingsingeniør Norwegian University of Science and Technology / NTNU Department of Computer and Information Science / IDI N-7491 Trondheim, Norway Phone Office / Telefon jobb : (+47) 73 59 18 46 Fax Office / Telefax jobb : (+47) 73 59 17 33 Cell. Phone / Mobiltelefon : 91 59 86 06 -- 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 (#47263) next »