HP Printing problem -- OS X warning dialogs say "hpPostProcessing.bundle" or "HPDM.framework" will damage your computer

Problem

OS X Catalina computer printing to an HP printer, starts showing warning dialogs referring to HP printing related files "will damage your computer". The warning may refer to one of the following files.

- hpPostScriptPDE.plugin
- hpPostProcessing.bundle
- HPDM.framework

Answer

To resolve the issue, download (and install) the HP Printer Drivers v5.1 for OS X. Once installed, restart your computer.

If you still have the warning dialog issue, go to the following HP article for an HP uninstaller to completely remove old drivers, then can install updated drivers for your HP printer. https://support.hp.com/us-en/document/c06960563