Tunable modular design (TMD) for fabrication of nonstandard doses of an active pharmaceutical ingredient (API) by using API-preloaded modules with the discrete doses of the API with 3 mg steps (left) and by fine-tuning the required dose on-demand with inkjet printing (ranging 0.12.9, 3.15.9, and 6.18.9 mg) (right).