A printing process for dosage forms selected from hard or soft capsules, the process comprising the steps of: (i) providing a plurality of said dosage forms, preferably filled with a liquid composition, in a reservoir; (ii) transferring a predetermined number of the dosage forms from said reservoir to a printing station; (iii) printing indicia over each of the dosage forms; (iv) transferring the printed dosage forms to an inspection station arranged to sense a predetermined characteristic of the indicia; (v) sorting the dosage forms based on the sensed predetermined characteristic of the indicia by separating dosage forms that meet the predetermined characteristics from dosage forms that do not meet the predetermined characteristics; wherein the dosage forms that do not meet the predetermined characteristics are collected and further processed through a regenerating unit arranged to remove the indicia from the dosage forms in a regeneration step, and further re-processed according to steps (i) to (v).