Printed it, and the core fit perfectly into a vial, and the vial's cap fit over it perfectly.
The cap had two problems. First the 'wings' didn't catch on the core. The problem may be that the core doesn't have a 'lip' for the wings to catch onto. Second, the cap didn't fit inside the vial cap, for my vial. Inside the cap there's a plastic ring that appears to be a part of the locking mechanism that holds the cap onto the vial. This ring fits around the core, but the cap appears to keep the ring from fitting into place, so with the cap in place I can't seal the vial.
So the end result is that I'm using the core and the vial's cap, and not using the printed cap, and using my fingers to cover the pills in place when I pour out the one section's pills.