A non-transitory computer readable storage medium storing a set of program instructions for an information processing apparatus comprising a computer, a communication interface configured to communicate with a printer, and a user interface configured to receive a user input, the set of program instructions including a set of first program instructions and a set of second program instructions, the set of first program instructions controlling the computer to function as a higher-level module, the set of second program instructions controlling the computer to function as a lower-level module lower than the higher-level module, wherein the set of first program instructions, when executed by the computer, causes the information processing apparatus to perform:
- receiving a specific value from a receiving module, the specific value depending on a first parameter that is received by the receiving module via the user interface, the first parameter concerning a sheet on which the printer prints an image;
- transmitting a first instruction to the lower-level module, the first instruction being for instructing the lower-level module to generate second parameters based on the specific value, the second parameters being all of parameters which concern the sheet;
- acquiring the second parameters from the lower-level module;
- calling a first API which is included in an OS;
- and
- transmitting a second instruction to the OS via the called first API, the second instruction being for instructing the OS to transmit the second parameters to the printer,
- wherein the set of second program instructions, when executed by the computer, causes the information processing apparatus to perform:
- in response to receiving the first instruction from the higher-level module, generating the second parameters based on the specific value;
- and
- transmitting the generated second parameters to the higher-level module as a replay to the first instruction,
- wherein the set of first program instructions is written in a first programming language that enables the higher-level module to call the first API included in the OS,
- wherein the set of second program instructions is written in a second programming language different form the first programming language.