A printer that can reduce a manufacturing cost is obtained. The printer
according to the invention includes a casing as a base member, a movable
member and a spring. The movable member is movable with respect to the
casing. The spring is located between the casing and the movable member.
The casing is provided at a position opposed to the lower end of the
spring with a projected portion (circular convex portion) arranged to
pinch the lower end of the spring. The position of the spring with
respect to the casing is fixed by the state in which the lower end of the
spring is arranged radially inside the circular convex portion. The
movable member is provided at a position opposed to the upper end remote
from the lower end of the spring with a fixing portion (projected fixing
portion) for fixing the upper end of the spring.