The use of self-healing mineralized hydrogels in 3D printing has demonstrated significant advantages, including enhanced printing accuracy and the ability to maintain high shape fidelity throughout the printing process. After conducting an initial optimization study, we incorporated our self-healing mineralized hydrogel into semi-solid extrusion-based 3D printing to print diclofenac-loaded oral films. The dependence of the print speed on the nature of the material was established by varying the print speed. The process of optimizing the print speed was conducted using a blank hydrogel, which involved analyzing specific parameters, such as printing accuracy and the percentage of pore area under sizing. The results demonstrated that 2 mm/sec print speed showed a higher printing accuracy of 98.13% and pore area under-sizing value of 41.31%. Interestingly, the viscosity of the hydrogel increased from 5.30 to 133 PaS upon addition of the drug. The percentage pore area under sizing also decreased from 41.31% to 11.48% as the drug loading was increased from 0% to 3% w/w. The in vitro drug release study demonstrated that the 3% w/w diclofenac sodium-loaded oral films printed at 2 mm/sec exhibited a faster release profile. Furthermore, considerable bioavailability of diclofenac sodium (DS) was achieved from the 3D-printed oral films during the in vivo study. These results can be effectively used to develop a drug delivery system that can release medications accurately and consistently, either in a targeted area or systemically.