In this embodiment, the marking pattern of each of the various types of recording media has a reference marking consisting of a pair of ???anchor bars??? 225 and 226 (first and second, respectively), which are located at a fixed distance with respect to one another for all media types.