Provided are a method and device for calculating a distance between conveyed media based on a feeding speed of the media selected by a user and continuously picking up and feeding the media based on the calculated distance. The method involves selecting a distance between the media along the print path of the image forming apparatus, calculating a conveying distance of a first medium at the time when a second medium is picked up after the front end of the first medium is detected based on the selected distance, and picking up and feeding the second medium using the calculated conveying distance of the first medium. |