Patent ID: 8496248

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 of the two sidewalls, a first spring member secured between each of the two sidewalls and the retaining member secured to the sidewall, the retaining member being slidable between a first position and a second position, the first spring member in the second position has a length less than a length in the first position; two driving mechanisms, each of the two driving mechanisms comprising a supporting plate, a sliding member, a shaft, and a sliding block; the supporting plate being attached to each of the two sidewalls, the shaft being rotatably attached to the supporting plate, the sliding member being slidable relative to each of the two sidewalls of the bracket when the shaft is rotated, and the sliding block being attached to the supporting plate; and a tray configured for receiving the paper output from the main body and received in the bracket, the tray comprising tray posts corresponding positioned relative to the retaining members; wherein the sliding blocks are slidable to engage with 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 first spring members rebound to push the retaining members from the second position to the first position after the tray posts pass across the retaining members.