The printer must be able print yellow in order to execute the alignment. Part of the alignment process involves scanning printed yellow bars. See the web page below for a sample of the printout. I suggest that you clean the carriage and cartridge electrical contacts with a cotton swab moistened with water. If you still fail to get yellow, test the cartridge in another printer. Any Deskjet 900 series will accept the cartridge.
http://h20015.www2.hp.com/en/document.jhtml?lc=en&docName=bpu00657