A print-job control program embodied in a computer readable medium, said print-job control program being executed in an image-forming apparatus having a printer to print an image on a recording medium, said print-job control program causing said image-forming apparatus to execute steps comprising:
- communicating with a radio communication terminal and measuring a distance between said image-forming apparatus and said radio communication terminal;
- acquiring print data;
- detecting print data corresponding to terminal identification information for identifying said radio communication terminal;
- starting a preparation operation to cause said printer to print an image on condition that said print data is detected and upon reduction of the measured distance equal to or below a first threshold value;
- and
- causing said printer to print an image based on said acquired print data, upon reduction of the measured distance equal to or below a second threshold value smaller than said first threshold value.