See Brady Products
Photologic Slotted Optical Switch - 0.125" (3.18mm) - Through-Beam - NPN Open Collector, Buffer Output - 7.5mA 4.5V to 16V Supply - PCB Mount.