While it is true that 32bit Windows still supports some MS-DOS apps even in modern versions (Windows 8, 8.1, 10), the DOS environment emulation is drastically limited. You can't for example run apps that use CGA, EGA or VGA graphics mode, only text mode, and don't expect internal PC speaker or its emulation to work, that support was dropped long ago. As for sound card support, I am afraid that DOS sound is dropped altogether. If your app utilize the use of internal onboard PC speaker, sometimes it just doesn't work, sometimes it glitches in weird ways where the program crashes and leaves an uncanny sound behind.
The truly last edition of Windows that natively supports DOS apps in an entire extent, is Windows XP, and even then there were some limitations and the DOS environment emulation just wasn't that perfect. The best results would be with Windows 9x, which were still DOS based, as opposed to Windows NT, Windows 2000 and Windows XP, which were NT based (as the rest of Windows nowadays), or with MS-DOS itself, obviously. If you need to use the modern hardware, the best option for you would be to use DOSBox or other emulation software (like VirtualBox or VMware). You can mount physical device ports to the virtual machine so they can be used to access your physical printer if you need that, so the only thing that limits you in using old DOS apps is the hassle with setting eighter a virtual machine or a physical machine up.
MS-DOS was discontinued for a good reason. It was a hassle to set up properly the way the user wanted, it was a hassle to navigate around and use the OS, and it was a hassle to install new programs and apps in it. You had to know the command line or have someone install a commander app for you. Windows added the GUI to DOS, but first versions of Windows weren't much better to be honest.