No, it sounds more like the black printer nozzles are blocked. This shouldn't happen on a new printer. Try a nozzle deep clean cycle. go to hp support for troubleshooting and if problem still occurs, contact where you bought it from and send it back as faulty.
What is ransomware and how do I protect my PC from Petya?