There is a paper end sensor [G] in the tray. The feeler drops into the cutout in the bottom plate and the actuator interrupts the paper end sensor. This sensor also detects whether the tray is set.