A method of controlling a digital printer having a print head with an array of printing elements, the print head mounted on a carriage that is guided on guide rails and being arranged to scan a recording medium in a main scanning direction, and the print head and the recording medium being arranged to be moved relative to one another in a sub-scanning direction normal to the main scanning direction in predetermined steps of relatively advancing the recording medium between passes (s1 - s14) of scanning the recording medium in the main scanning direction, the printer being arranged to operate in a selected first print strategy wherein a first pattern of a constant number of scan passes per area unit of the recording medium in which scan passes the array of printing elements moves over the recording medium in the main scanning direction resulting in print swaths on the recording medium, and a constant number of advance steps in the sub-scanning direction, wherein for each of the advance steps a moving distance is prescribed, and the printer comprising a print condition detection system arranged to detect a change of at least one print condition for printing by the digital printer, the method comprising the steps of: a) starting of moving the print head according to the first print strategy; b) during printing receiving a trigger from the print condition detection system that a print condition has changed during printing, c) determining if an adaptation of the first print strategy is needed due to the changed print condition, d) upon a positive determination in the previous step c), d1) finishing the current scan pass in the main scanning direction, d2) selecting a second print strategy in which the changed printing condition is taken care of, the second print strategy comprising at least one other moving distance for an advance step in the sub-scanning direction than the first print strategy, the method characterized by the steps of: d3) using a boundary line on the recording medium until which the first print strategy is applied and after which the second print strategy is applied, the boundary line being an imaginary line on the recording medium formed by a downstream end of a print swath created by the previous scan pass finished in step b), d4) in next scan passes (s7 - s14) printing elements of the print head positioned above the boundary line printing according to the first print strategy and printing elements of the print head below the boundary line printing according to the second print strategy as long as the carriage has not fully passed the boundary line, and d5) applying the second print strategy when the carriage has fully passed the boundary line, wherein the method comprises the step of adapting a distance of a step in the sub-scanning direction in order to position the print head such that a switch from the first print strategy to the second print strategy is possible. a) starting of moving the print head according to the first print strategy; b) during printing receiving a trigger from the print condition detection system that a print condition has changed during printing, c) determining if an adaptation of the first print strategy is needed due to the changed print condition, d) upon a positive determination in the previous step c), d1) finishing the current scan pass in the main scanning direction, d2) selecting a second print strategy in which the changed printing condition is taken care of, the second print strategy comprising at least one other moving distance for an advance step in the sub-scanning direction than the first print strategy, the method characterized by the steps of: d3) using a boundary line on the recording medium until which the first print strategy is applied and after which the second print strategy is applied, the boundary line being an imaginary line on the recording medium formed by a downstream end of a print swath created by the previous scan pass finished in step b), d4) in next scan passes (s7 - s14) printing elements of the print head positioned above the boundary line printing according to the first print strategy and printing elements of the print head below the boundary line printing according to the second print strategy as long as the carriage has not fully passed the boundary line, and d5) applying the second print strategy when the carriage has fully passed the boundary line, wherein the method comprises the step of adapting a distance of a step in the sub-scanning direction in order to position the print head such that a switch from the first print strategy to the second print strategy is possible. d3) using a boundary line on the recording medium until which the first print strategy is applied and after which the second print strategy is applied, the boundary line being an imaginary line on the recording medium formed by a downstream end of a print swath created by the previous scan pass finished in step b), d4) in next scan passes (s7 - s14) printing elements of the print head positioned above the boundary line printing according to the first print strategy and printing elements of the print head below the boundary line printing according to the second print strategy as long as the carriage has not fully passed the boundary line, and d5) applying the second print strategy when the carriage has fully passed the boundary line, wherein the method comprises the step of adapting a distance of a step in the sub-scanning direction in order to position the print head such that a switch from the first print strategy to the second print strategy is possible.