This removes all printers and scanners-including their print jobs and settings-from Printers & Scanners preferences.
If the issue continues, reset the printing system on your Mac.
To help with this issue, please follow these steps from this article on your situation. If I understand correctly, you are unable to add this printer to your iMac, but you were able to successfully add this printer to your MacBook. Thanks for that info and choosing the Apple Support Communities.