A method of assembling a gear arrangement for a capper of an inkjet printer, the method comprising the steps of: mounting a first gear assembly to the printer so as to cooperate with a motor gear for driving rotation of the first gear assembly, the first gear assembly having a code feature; and mounting a second gear assembly the printer so as to cooperate with the first gear assembly to be rotatable therewith, the second gear assembly, in use, cooperating with a capper for capping a printhead so that the rotation of the second gear assembly moves the capper out of and into its capping position, wherein in the step of mounting the second gear assembly the code feature of the first gear assembly is arranged to cooperate with a holding feature of a mounting arrangement used to mount the second gear assembly to the printer, the code feature being configured so that the cooperation with the holding feature maintains the first gear assembly at a predetermined position during the mounting of the second gear assembly.