PHP code to contol lpt1 port

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thegadgitman
Forum Newbie
Posts: 2
Joined: Sun Jan 31, 2010 1:05 pm

PHP code to contol lpt1 port

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