The invention relates to a system for producing pharmaceutical objects, such as tablets, granules and capsules, via 3D printing. The system comprises a 3D printing machine (2) with a mechanical system (3) movable in one or more directions, at least one print head (5) with a nozzle (37) being movable by the mechanical system (3) and a base system (4) carrying a print base (6) for receiving a prepared mixture (27) applied by the print head (5). The system comprises at least one carrier (35) for holding a cartridge (28).Printing can be done on formatted print locations (49) on the base (6). The invention further relates to a method for producing pharmaceutical objects, comprising the steps of providing at least one pharmaceutical substance in at least one cartridge, placing the cartridge in a carrier, establishing a fluid connection between a cartridge and a print head, such that the pharmaceutical substance may leave the print head through the print head nozzle, moving the print head nozzle according to a 3D print program and dispensing the pharmaceutical substance to a print base.