Computer products giant Hewlett-Packard has agreed to pay $141 million to settle patent disputes with software maker Intergraph, the companies announced Friday.

Hewlett-Packard, a maker of personal computers, printers, servers and software, said in a statement that it expects the settlement to reduce earnings for the first quarter of fiscal 2005 by about 3 cents per share. It will pay Huntsville, Ala.-based Intergraph by Jan. 28.