Re: How to write and read serial or parallel port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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
> 
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux