DOSBox is really meant for playing old DOS games. There are spin-off versions that will print fine though.
VDOS Plus is great but as it's meant for 'serious' (text-based) applications it's graphics support is poor.
When I need both graphics and printing I use DOSBox-MB6, though it no longer seems available for download. I've never noticed the F10 problem in this. It's a while since I set it up and may have changed something at that time.
This is still somewhat academic as we still don't know exactly what software the OP is interested in using.