switch status indicator with parallel port
If I understand correctly something like this should work for you:



Simulation:



The top trace 1V signal represents the switching of the switch from open to closed. The bottom trace shows the current through the LED. You can see the LED current drops to zero when the switch is closed.

Alternatively there is a more efficient logic level P-channel MOSFET version which you might consider: