A non-transitory computer-readable storage medium storing a control program of an image processing device that is wirelessly connected with a mobile terminal having a display and is capable of accepting an operation by a user via the mobile terminal, the control program causing a computer of the image processing device to execute procedures comprising:
- sending, to the mobile terminal, operation screen data for displaying, on the display, an operation screen necessary for accepting the operation;
- estimating a distance between the image processing device and the mobile terminal;
- and
- controlling the operation screen data so that, when an estimated distance by the estimating is less than or equal to a predetermined threshold value, the operation screen is brought in a mode capable of accepting a specific operation which is the operation that is specific, and when the estimated distance exceeds the threshold value, the operation screen is brought in a mode incapable of accepting the specific operation.