Memories. A long time ago I used to sell a little board that plugged into a printer port and added a power driver to the outputs and some buffering to the inputs so they were 12V-tolerant.
Forgot about that until you mentioned it.
Hah, memories.
Wrote a Turbo Pascal program for that. Good times.