A non-transitory storage medium on which is stored a computer program for making a computer execute a control method for controlling an information processing apparatus, the program comprising:
- code for displaying data that is saved by an external information processing apparatus;
- code for identifying an image forming device by short-range wireless communication;
- code for acquiring, from the image forming device, compatibility information indicating whether or not the image forming device is compatible with a first print method for acquiring data from the external information processing apparatus, and printing based on the data;
- and
- code for transmitting, to the image forming device, a storage destination of the data in the external information processing apparatus so that the image forming device acquires the data and prints based on the acquired data, if the compatibility information indicates that the image forming device is compatible with the first print method, and for generating print data and transmitting the generated print data to the image forming device, if the image forming device is not compatible with the first print method but is compatible with a second print method for receiving print data from the information processing apparatus and printing based on the received print data.