A printer, comprising: a printer memory that stores information; a printer communication device that performs communication with a terminal; a printing device that prints based on print data; a receiving device that receives operating state information, the operating state information indicating that an operating state of the printer is one of a storage device state and a printing device state, the storage device state being an operating state that causes the terminal to recognize the printer as a device capable of using the printer memory, and the printing device state being an operating state that causes the terminal to recognize the printer as a device capable of printing by using the printing device; and a switching device that switches the operating state of the printer to one of the storage device state and the printing device state, based on the operating state information received by the receiving device, wherein: the printer memory stores an executable file for a first editor program, the first editor program being a program for editing the print data and being a program for allowing a user to select the operating state of the printer; the printer communication device, in response to a request from the terminal, transmits to the terminal the executable file for the first editor program stored in the printer memory, in a state in which the operating state of the printer is the storage device state; the receiving device receives the operating state information transmitted from the terminal after the first editor program has been started up in the terminal; print data created in the terminal with the first editor program is stored in the disk area of the printer memory in a state in which the operating state of the printer is in the storage device state; and the switching device switches the operating state of the printer in accordance with the operating state information received by the receiving device. a printer memory that stores information; a printer communication device that performs communication with a terminal; a printing device that prints based on print data; a receiving device that receives operating state information, the operating state information indicating that an operating state of the printer is one of a storage device state and a printing device state, the storage device state being an operating state that causes the terminal to recognize the printer as a device capable of using the printer memory, and the printing device state being an operating state that causes the terminal to recognize the printer as a device capable of printing by using the printing device; and a switching device that switches the operating state of the printer to one of the storage device state and the printing device state, based on the operating state information received by the receiving device, wherein: the printer memory stores an executable file for a first editor program, the first editor program being a program for editing the print data and being a program for allowing a user to select the operating state of the printer; the printer communication device, in response to a request from the terminal, transmits to the terminal the executable file for the first editor program stored in the printer memory, in a state in which the operating state of the printer is the storage device state; the receiving device receives the operating state information transmitted from the terminal after the first editor program has been started up in the terminal; print data created in the terminal with the first editor program is stored in the disk area of the printer memory in a state in which the operating state of the printer is in the storage device state; and the switching device switches the operating state of the printer in accordance with the operating state information received by the receiving device. the printer memory stores an executable file for a first editor program, the first editor program being a program for editing the print data and being a program for allowing a user to select the operating state of the printer; the printer communication device, in response to a request from the terminal, transmits to the terminal the executable file for the first editor program stored in the printer memory, in a state in which the operating state of the printer is the storage device state; the receiving device receives the operating state information transmitted from the terminal after the first editor program has been started up in the terminal; print data created in the terminal with the first editor program is stored in the disk area of the printer memory in a state in which the operating state of the printer is in the storage device state; and the switching device switches the operating state of the printer in accordance with the operating state information received by the receiving device.