The code generally means that the ribbon cable to the print head is not connected properly. If you replaced the print head there is a chance you didn't plug in the head cable connections firmly enough. Unplug the print head and cable and try again.
Harry