this invention provides a printer capable of regulating the displacement of printing head according to the kind of characters to be printed . the printer has a printing head , an identifying device for identifying the print size of the printing head , and a drive mechanism for driving the printing head according to the print size identified by the identifying device .