Re: How to write and read serial or parallel port

From: Date: Thu, 26 Jul 2012 14:05:52 +0000
Subject: Re: How to write and read serial or parallel port
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-318567@lists.php.net to get a copy of this message
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 > >

« previous php.general (#318567) next »