A non-transitory recording medium on which has been recorded a program for causing a computer of an information processing apparatus to execute the steps of a control method, wherein the information processing apparatus has a printing unit and a memory that stores a first descriptor indicating that the information processing apparatus operates as a storage device, a second descriptor indicating that the information processing apparatus operates as a printer device different from the storage device, and a printer driver which, in a case where the information processing apparatus is operating as the storage device, is information accessible by a host apparatus and is used by the host apparatus in order to control the information processing apparatus as the printer device in accordance with a given standard, said method comprising:
- a communication step of transmitting the first descriptor to the host apparatus at the start of communication and communicating with the host apparatus in such a manner that the host apparatus is capable of accessing the printer driver;
- and
- a changing step of changing the descriptor that is transmitted to the host apparatus at said communication step to the second descriptor after the printer driver in the memory has been accessed from the host apparatus.