Hewlett-Packard Co., a week after ousting Chief Executive Carly Fiorina for failing to produce the results she promised, said first-quarter profit was little changed as sliding printer income offset rising personal computer earnings.

Net income rose to $943 million, or 32 cents a share, from $936 million, or 30 cents, a year earlier, Hewlett-Packard, the world’s largest printer maker, said Wednesday. Sales rose 9.9 percent to $21.5 billion, beating analysts’ estimates.

Hewlett-Packard’s PC unit, which lost its No. 1 position to Dell last year, doubled earnings as notebook sales rose. The company cited “price pressure” for the drop in printer profit, a sign that Dell Inc.’s decision last year to enter the market may be hurting the company’s most profitable unit. Fiorina’s failure to fuel growth and stem Dell’s advance after the $18.9 billion purchase of Compaq Computer Corp. 2002 led in part to her ouster.

“Overall, we were pleased with the performance of PCs and storage and servers,” Harry Blount, an analyst at Lehman Brothers in San Francisco, said in a note to clients after the report. He has an “overweight” rating on the stock. “We were disappointed in the performance of printers and software.”

Second-quarter profit will be 35 cents to 37 cents a share on sales of $21.2 billion to $21.6 billion, the company said. Analysts were expecting 36 cents on sales of $21.1 billion.

Shares of Palo Alto-based Hewlett-Packard rose 79 cents to $21.85 in extended trading. They fell 6 cents to $21.06 in New York Stock Exchange composite trading, and have gained 4.6 percent since Fiorina’s departure was announced Feb. 9. The stock fell 8.7 percent last year, compared with Dell’s 24 percent.

“While we continue to make progress in growing our top line, there is work to be done to improve our profitability,” Acting Chief Executive Bob Wayman said in the statement.

Profit before some one-time items was 37 cents, beating the 34-cent average estimate of 14 analysts surveyed by Thomson Financial. Analysts predicted sales of $21 billion.

Net income includes a 3-cent cost for legal settlement with Intergraph Corp. and costs from firing workers.

Violent police encounters in California last year led to the deaths of 157 people and six officers, the state attorney general’s office said Thursday in a report that provides the first statewide tally on police use-of-force incidents.

At 6:03 p.m. Wednesday, police responded to reports of the robbery at the facility, 2301 Bancroft way, and learned that a man who snuck into the facility and began prowling through the building, taking cell phones and wallets from victims.

Investigators’ efforts to solve the case led to the arrests of Pablo Mendoza, 25, of Hayward, Brandon Follings, 26, of Oakland and Valeria Boden, 26, of Alameda, the Alameda County Sheriff’s Office said Thursday.