A light-source mechanism for an optical scanner includes a chassis, a
lamp, a lamp holder and a buffering device between the chassis and the
lamp holder. If the buffering device is subjected to an external force of
impact and vibration, the buffering device may effectively absorb the
influence of the external force, such that the lamp generally will not be
damaged.