A non-transitory computer-readable medium storing output instructions to control a portable terminal including a user interface, a memory, a display, and a network interface, the network interface being configured to be electrically connected to a plurality of output devices,
- the memory being configured to store activation source instructions that are able to cause the portable terminal to activate the output instructions and to perform a processing of notifying the output instructions of data identification information identifying content data, the output instructions and the activation source instructions being executable by a processor,
- the output instructions being able to cause the portable terminal to function as an application capable of performing standard activation operations and external activation operations, the external activation operations being activated by the activation source instructions, wherein the application supports the plurality of output functions, and the plurality of output devices includes a multiple function device being able to perform at least two of the plurality of output functions and a single function device being able to perform only one of the plurality of output functions,
- the standard activation operations comprising:
- performing, in response to receiving a selection of an output device via the user interface, a storage control processing of storing device identification information, which corresponds to the selected output device, identifying the selected output device, in the memory, as a designated output device;
- and
- performing, in response to receiving a selection of the content data via the user interface, setting the selected content data as an output-target content data;
- performing selecting output processing including;
- a display processing of displaying a plurality of images, each of which corresponds to each of the plurality of output functions on the display;
- a first receiving processing of receiving an operation of designating one image of the plurality of images via the user interface, the designated one image corresponding to a target function corresponding to the designated one image of the plurality of images;
- a first output instructing processing of transmitting output instructing information to the default device via the network interface so that the output-target content data is output by the target function;
- and
- the external activation operations comprising:
- performing, a first acquiring processing of acquiring the data identification information output from the activation source instructions, the content data identified by the data identification information being set as an output-target content data;
- performing a second acquiring processing of acquiring operation information representing output functions, which is able to be performed by the designated output device, which is identified by the device identification information stored in the storage control processing of the standard activation operations;
- performing a first determining processing of determining whether the designated output device is the multiple function device being able to perform at least two of the plurality of output functions or the single function device being able to perform the only one output function;
- performing, when it is determined in the first determining processing that the designated output device is the multiple function device being able to perform at least two of the plurality of output functions, the selecting output processing;
- and
- performing, when it is determined in the first determining processing that the designated output device is the single function device being able to perform the only one output function, a non-selecting output processing of transmitting the output instructing information to the designated output device via the network interface so that the output-target content data is output by the only one output function, without displaying of images for designating the target function and without receiving an operation for designating the target function.