Any electronic designer types here that can point me in the right direction for information to do with using opto-isolators with a parallel port, specifically for Mach1 and 2 software.

I'm trying to design my own breakout board and so far I think I'm doing a reasonable job, but really need this feature so as not to fry my works laptop, only I've not used optos before.