A filter medium capable of removing microorganisms from a fluid such as water. The phase detector generates signals responsive to reference signal FR and VCO output signal FV. The stage is then calibrated based on its respective gain estimate. When dots are recorded, blank spaces are prevented from forming in the edge portions of the printing paper, and ink droplets are prevented from depositing on the platen when the printing paper P deviates from its intended position.