Patent ID: 7014378

Claim:
A paper feed controller comprising paper feed means, a motor for driving the paper feed means, and encoder means for outputting a first detection signal and a second detection signal in response to movement of the paper feed means, the paper feed controller further comprising: acquisition means for acquiring a stop position of the paper feed means; output means for outputting a stop signal for stopping the paper feed means; velocity calculation means for calculating the velocity of the paper feed means before a time corresponding to the stop position; time calculation means for calculating the time needed to reach the time corresponding to the stop position since a time at which there occurs a particular edge of the first detection signal output before the time corresponding to the stop position; counting means for counting the time calculated by the time calculation means; and control means for controlling the output means to output the stop signal when the counting of the time performed by the counting means is completed; wherein when an edge of the second detection signal is detected after the detection of the particular edge of the first detection signal, the control means controls the output means to output the stop signal even if the counting performed by the counting means is not completed.