An LED and phototransistor sense when the paper has reached the correct position for folding.