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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to