Hi @latik,
I'd like to help!
HP Deskjet 1275 driver for macOS 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