I have been asked to write a simple program to handle an external 8-relays board that can be controled through the standard parallel port.
I need just to send one ASCII character to LPT1 to activate the desired relay. The problem is that I can not find how to do it:
I've tried the TDosPrn() command() method but it seems to go through the Windows printer driver and keeps answering "Printer does not repond".
I've tried also OutportByte (888, 64) and get a GPF.
I'm pretty sure there must be a rather simple way of doing it, but at present I am just lost. Any ideas?
Rafael
