The present application is based on, and claims priority from JP Application Ser. No. 2019-198383, filed Oct. 31, 2019, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND

1. Technical Field

The present disclosure relates to a recording apparatus.

2. Related Art

Conventionally, there has been known a recording apparatus, such as a printer, that performs recording by ejecting a liquid onto a medium. Such a recording apparatus is configured such that a medium subjected to recording is ejected into a paper output tray. JP-A-2004-338873 discloses a configuration in which a paper output tray expands and contracts according to the length of a medium, and in accordance with a printing instruction, the paper output tray automatically expands and contracts to move to a designated position.

However, some users want to not automatically but manually move paper output trays to desired positions. On the other hand, the paper output tray disclosed in JP-A-2004-338873 can be automatically expanded and contracted, but cannot be manually expanded or contracted. This undesirably impairs the convenience with which the paper output tray expands and contracts.

SUMMARY

According to an aspect of the present disclosure, there is provided a recording apparatus including: a recording section that performs recording on a medium; a housing that houses the recording section; a tray configured to move to a loading position in which to load the medium to be subjected to recording and ejected and a stowage position in which the tray is stowed in the housing; and a switching unit that switches between an automatic mode in which to automatically move the tray to the loading position and the stowage position and a manual mode in which to manually move the tray to the loading position and the stowage position.

The foregoing recording apparatus may further include a control section that controls the switching unit. In the foregoing recording apparatus, the control section may switch between the automatic mode and the manual mode by controlling the switching unit.

The foregoing recording apparatus may further include: a gear train mechanism that moves the tray to the loading position and the stowage position; and a driving source that drives the gear train mechanism. In the foregoing recording mechanism, the switching unit may have a planet gear in the gear train mechanism, and switching between the automatic mode and the manual mode may be done by switching the planet gear from one position to another.

In the foregoing recording apparatus, the tray may have formed therein a rack that meshes with the gear train mechanism, the gear train mechanism may include a pinion that meshes with the rack, and a plurality of gears that transmits motive power to the pinion, in the automatic mode, the planet gear may be brought into a meshing state of meshing with the plurality of gears, and in the manual mode, the planet gear may be brought into a non-meshing state of not meshing with the plurality of gears.

In the foregoing recording apparatus, after the tray moves to the loading position or the stowage position in the automatic mode, the planet gear may move to a retreat position where the planet gear is in the non-meshing state of not meshing with the gear.

The foregoing recording apparatus may further include an operation section that inputs, to the control section, an instruction to switch between the automatic mode and the manual mode.

In the foregoing recording apparatus, the tray may be configured to move to a plurality of positions in the automatic mode.

In the foregoing recording apparatus, the tray may include a first tray and a second tray located upstream of the first tray in a direction of ejection of the medium in the loading position, and the second tray may be configured to move to a plurality of positions in the automatic mode.

