This part is a kind of semiconductor called LG-248L1.
Function of this product has Photointerrupters(Transmissive).
Manufacturers : KODENSHI KOREA CORP
Image and pinout :

Some of the text within the PDF file :
Photointerrupters(Transmissive) K O D E N S H I LG-248 DIMENSIONS The LG°©248 photointerrupter combine high output GaAs IRED with Photo IC.The sensor makes possible easy development of object detecting systems with highperformance,high reliability and small equipment size. LG-248L1 : High level output at shielding LG-248D1 : Low level output at shielding (Unit : mm) FEATURES ¶UConnector type AMP £®JAPAN ,L £© td. ¶UGAP £∫ 5.0mm ¶U Snap °©in mount ¶U3 kinds of mounting plate thicknesses :1.0mm,1.2mm,1.6mm APPLICATIONS ¶U Copiers ¶U Printers ¶UAuto stampers ¶UTicket vending machines MAXIMUM RATINGS Item Supply voltage Output voltage Low level output current Power dissipation *1 *2 Operating temp. *1 *2 Storage temp. (Ta=2°…) 5 Symbol Rating VCC VO OL I P Topr. Ts [ ... ]
LG-248L1 PDF Datasheet Download
