Page 1 of 1

PHP code to contol lpt1 port

Posted: Mon Jul 05, 2010 4:18 pm
by thegadgitman
Hi I am trying to send a code to the parallel port to turn on and off external relays. I have the external board and it
controls 5 relays fine when i use the dos window. I can control it via LPTOUT 1, lptout 2, lptout 4, lptout 8, lptout 16
I have to do this twice but turns on and off the relays perfectly.

However when I try and use lptout.exe via PHP it does not work.

Any help or code.

THANK YOU