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 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 is done at formatted print locations (49) on the base (6). A method for producing pharmaceutical objects by 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, moving the print head nozzle according to a program and dispensing the pharmaceutical substance to a print base.