A doctor device in an inking unit of a rotary printing machine, having a
base member, and a working doctor adjustable with respect to the base
member, includes a sensor for determining a position of the working doctor
relative to the base member; and a rotary printing machine includes the
doctor device.