L1 is an inductor, to reduce the noise on the 18V supply to the printer. It is covered with that black shrink cover, and looks fine. If it fails the sleeve will be cooked off it or melted.
Those 2 capacitors will need replacing, though you should also look at the underside and resolder the joints on the secondary rectifier diode, as it will by now be getting a dry joint on the one leg.
A replacement power supply is expensive as OEM, but a cheap laptop power supply ( almost any one, it does not need to supply more than 2A) works well as a replacement.