You read and write to it like any other file.  Calls on windows
will be slightly different.

$PRINTERPORT =
fopen("/dev/lpt1", "r+");

$PRINTERPORT =
fopen("lpt1", "r+");

Cheers,
Curtis




viper wrote:
> hi all!
> 
> is it possible to write and read data on a COM or LPT port?
> is there any function or class in PHP?
> 
> anyone
has already done something similar?
> 
> thanks,
>
viper
> 
> --
> + 
http://vipertechnology.dyndns.org
> ()  ascii ribbon campaign -
against html e-mail
> /\  www.asciiribbon.org   - against
proprietary attachments
> + 
http://vipertechnology.dyndns.org/cotnact/
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To
unsubscribe, visit: http://www.php.net/unsub.php
> 
>

Reply via email to