looking at the breakout boards inputs

Click image for larger version. 

Name:	bob opto isolated input.jpg 
Views:	1263 
Size:	120.7 KB 
ID:	21208

when the limit switch is closed, the EL817 opto isolator's NPN transistor will ground the printer ports input pin

the breakout board does not have any pull up resistors to ensure a printer port input is at a valid logic high when the limit switch is open

this can be a problem with PC's or laptops with 3.3V printer ports

John