Instead of going in the assembly route to control a parallel port we can use QBasic and get the same results. With QuickBasic you can compile the code and use BATCH scripts to run them or even if you’re crafty enough you can make a simple program to control it.
Here is a simple test script in basic to turn on all of the port’s pins and turns them off in pulses. You can use a LED or a Multimeter as a output to see if it works.
OUT (888), 255
OUT (888), 0
LOOP WHILE INKEY$ = “”
This puts all of the pins high for five seconds and low for one second.
Be aware that not all parallel ports use the same address.