HP Photosmart C5200 All-in-One Printer series driver for macOS 11 is not available from the HP website or Apple Software Update. However, Gutenprint (formerly called Gimp-Print) provides open-source basic print drivers for many printers that would otherwise not be supported in Mac OS X. To see if your printer is supported, go to Gutenprint drivers for more information.
NOTE: Gutenprint drivers are not supported by HP or Apple.
Hope this helps! Keep me posted.
And, Welcome to the HP Support Community.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".