To produce flour and/or semolina, raw material is fed into a feed opening of a roller press. The milling gap of the roller press is fixed, or damping of at least one of the rollers with respect to the lateral deflection is set, such that a first subset of the fill containing finer milling material forms a packed particle fill in the milling gap. In addition, the setting is carried out in such a way that individual particles of a second subset of the fill containing coarser milling material are in contact with the first roller and the second roller of the roller press. Subsequently, the bulk material is milled into milled product in the roller press (9) and the milled product is discharged through a discharge opening.