printer or the like it is provided that for the read out of a magnetic coding on a rotationally driven part a sensor emits output signals in reference to a changing magnetic field preferably the sensor is in the form of a pulse wire a ribbon cassette for such a typewriter is distinguished by the disposition of at least one magnet on a rotationally driven part advantageously this is a wiegand wire a type wheel can be coded in a corresponding manner application_number US 36397889 A description a typewriter illustrated in fig1 comprises a carriage 1 and a platen 2 a type wheel 3 shown only schematically and by dash dotted lines is disposed in the printing area between the two arms 4 of a ribbon cassette 5 the ribbon cassette 5 is exchangeable and pivotable between a position of rest shown in solid lines and an operating position shown by dash dotted lines the ribbon cassette 5 has a basic body 6 of approximately rectangular shape in the area of a lateral surface 7 of this basic body in fig1 and 2 at the right lower end where the drive wheel 10 of the cassette 5 is disposed a sensor 9 is disposed on the machine which reacts to a changing magnetic field and which in the exemplary embodiment is in the form of a pulse wire already described in detail above a ribbon cassette 5 and 5 39 shown open in fig2 and 3 respectfully comprises in a manner known.