Hello attached is a photo of slotted opto interuptor. that i can not find. by numbers or using google lens or image to find logo.
the body looks like bigger version of OPB380 (P or L mount) but the total length is about 25mm long
the OPB917 is 25mm long but this has 4 wires. white/black and green/orange
this is used in Thermal label printer brand Transact model Accudate9700 made in USA