1. A method of aligning a first image on a first side of a medium and a second image on a second side of a medium, the first side and the second side facing away from each other, wherein the method comprises the steps of: using an imaging device for printing the first image and a discrimination feature comprising a discriminatory edge perpendicular to an alignment direction in a coordinate system of the medium on a first side of the medium while controlling the position of the medium with respect to a coordinate system of the imaging device based on a first set of feed parameters; and using the imaging device for printing the second image and a plurality of features on the second side of the medium while controlling the position of the medium in the coordinate system of the imaging device based on a second set of feed parameters, the plurality of features comprising a first feature, a second feature and a third feature, wherein each feature of the plurality of features has a first edge and a second edge parallel to the first edge and has a halfway coordinate between the first edge and the second edge, the halfway coordinate of the second feature being between the halfway coordinate of the first feature and the third feature, the first feature extending in a first range of coordinates in the alignment direction, the second feature extending in a second range of coordinates in the alignment direction, the third feature extending a third range of coordinates in the alignment direction, the first range overlapping with the second range and the second range overlapping with the third range, wherein printing comprises controlling a printing position where the medium is to be colored, in the coordinate system of the imaging device, and wherein when printing the discrimination feature and the plurality of features, the relative positioning of the medium in the coordinate system of the imaging device and controlling the printing position are arranged such that according to the first set of feed parameters and the second set of feed parameters the first edges of the features of the plurality of features are perpendicular to the alignment direction and the discriminatory edge overlaps the first edge of the second feature.