My 20 cm wide IKEA apothecary cabinet now holds far more than before: salt and pepper mills, oil and vinegar in spray bottles, and 16 spice jars, four by four. That works because the printed inserts use the full width of the pull-out instead of just its narrow base. It was one of my first projects to get the kitchen in order.

The inserts fit the METOD/MAXIMERA apothecary cabinet that is 20 cm wide (article number 592.679.93). The files are free on MakerWorld. In mine everything fits perfectly. The jar compartments, though, are sized for my Ankerkraut jars, and for some people who printed them for other jars, they don’t quite fit.
The width is the real storage space
The pull-out has a narrow base at the bottom and a frame above it that is much wider. Anything that only stands on the base leaves the rest empty. My inserts are built for the full width of the frame, and that is where the extra space comes from.
Modules instead of fixed compartments
Each module is made for one kind of container: mills, spray bottles or spice jars. You combine them to suit your own kitchen. Mine holds mills, spray bottles and spice jars from Ankerkraut.

Before fitting: rods out, one module as a test
The rods that extend the pull-out frame have to come out. If you have already installed them, the inserts cover the screw holes.
If your jars are different, print a single module first and try it before the whole set goes through the printer.
More space in the same cabinet
For me it was worth it: the pull-out holds far more, and everything has its fixed place. For the large 60 cm apothecary cabinet I also made a tea rack.