A printer system, comprising: an array of nozzles, and a control device coupled to the array of nozzles configured to: determine a step size for printing a current section of an image based on a set of masks (501, 502; 601, 602), wherein the set of masks (501, 502; 601, 602) includes one or more masks (501; 601) used for printing previous sections of the image; adjust the set of masks (501, 502; 601, 602) based on a printing mode to be used for the current section of the image, wherein the array of nozzles is configured to print the current section of the image using a combination of the adjusted set of masks (501, 502; 601, 602), wherein each mask of the set of masks (501, 502; 601, 602) is associated with a first attribute and a second attribute, wherein the first attribute indicates an amount of shift of the mask with respect to the array of nozzles, and wherein the second attribute indicates a number of nozzles to be used for applying the mask, characterized in that the control device is further configured to: add a new mask to the set of masks (501, 502; 601, 602) upon determining that the printing mode is different from a previous printing mode; and set the first attribute of the new mask by tracking past changes of first and second attributes of the set of masks (501, 502; 601, 602). an array of nozzles, and a control device coupled to the array of nozzles configured to: determine a step size for printing a current section of an image based on a set of masks (501, 502; 601, 602), wherein the set of masks (501, 502; 601, 602) includes one or more masks (501; 601) used for printing previous sections of the image; adjust the set of masks (501, 502; 601, 602) based on a printing mode to be used for the current section of the image, determine a step size for printing a current section of an image based on a set of masks (501, 502; 601, 602), wherein the set of masks (501, 502; 601, 602) includes one or more masks (501; 601) used for printing previous sections of the image; adjust the set of masks (501, 502; 601, 602) based on a printing mode to be used for the current section of the image, wherein the array of nozzles is configured to print the current section of the image using a combination of the adjusted set of masks (501, 502; 601, 602), wherein each mask of the set of masks (501, 502; 601, 602) is associated with a first attribute and a second attribute, wherein the first attribute indicates an amount of shift of the mask with respect to the array of nozzles, and wherein the second attribute indicates a number of nozzles to be used for applying the mask, characterized in that the control device is further configured to: add a new mask to the set of masks (501, 502; 601, 602) upon determining that the printing mode is different from a previous printing mode; and set the first attribute of the new mask by tracking past changes of first and second attributes of the set of masks (501, 502; 601, 602). add a new mask to the set of masks (501, 502; 601, 602) upon determining that the printing mode is different from a previous printing mode; and set the first attribute of the new mask by tracking past changes of first and second attributes of the set of masks (501, 502; 601, 602).