Patent ID: 8326209

Claim:
A printer, comprising: a main body capable of printing and outputting paper; a bracket attached to the main body and comprising two sidewalls, a retaining member secured to each sidewall, a first spring member secured between each retaining member and the corresponding sidewall, each retaining member being slidable from a first position and a second position, where the first spring member has a resilient deformation greater than that in the first position; two driving mechanisms secured to each sidewall, each driving mechanism comprising a sliding member and a shaft, the shaft is rotatable relative to the sidewalls, and the sliding member being slidable on each sidewall of the bracket when the shaft is rotated; and a tray configured for receiving paper output from the main body and received in the bracket, the tray having tray posts corresponding to the retaining members; wherein the sliding members are slidable to engage the tray, the tray posts are capable of moving the retaining members from the first position to the second position before passing across the retaining members, and the retaining members will slide from the second position to the first position due to the first springs, after the tray posts pass across the retaining members; wherein a locking member is attached to each sliding member and rotatable relative to the sliding member; and wherein the locking member is rotatable about an axis, and the axis is substantially perpendicular to the shaft and a sliding direction of the sliding member.