To automatically regulate an alignment of an ink cartridge with a simple and low cost constitution.
When a CPU judges that a position of a carrier 11 arrives at the vicinity of a position of a slit 16 by the drive of a carrier motor, the CPU controls the cartridge to inject an ink from the cartridge while the position of the carrier 11 is moved at each predetermined amount, and the ink from the cartridge is detected by a detecting sensor 6. The CPU calculates a deviated position of the leading position of the carrier 11 to a home position from the position of the slit 16 when the ink from the cartridge is detected by the sensor 6 to output a detection signal, and the CPU corrects the position of the carrier 11 to the home position by its deviated amount.