NEW YORK (CNNMoney.com) -- Hewlett-Packard, the world's largest technology company, used its heft to push sales and income higher last quarter as both consumers and businesses upped their spending on HP's computers and printers.
Analysts polled by Thomson Reuters, whose estimates typically exclude one-time charges, expected $1.05 per share.
Sales rose 13% to $30.8 billion, from $27.4 billion during the same period last year, beating analysts' forecast of $29.8 billion. The big growth came in HP's PC division, where sales rose 21% to nearly $10 billion.
"We've built the best portfolio in the industry, and our customers are responding," Mark Hurd, HP's chairman and chief executive officer, said in a prepared statement.
The company boosted its full-year outlook for the second straight quarter. HP expects earnings per share in the $4.45 to $4.50 range, up from its previous forecast of $4.37 to $4.44. It also lifted its sales forecast.
The raised outlook came as a surprise to analysts, who expected the company to temper its guidance based on pressures from currency fluctuations and economic weakness in Europe, where HP does around a third of its sales.
"Everyone expected them to guide down their revenue outlook, but you haven't seen that in these numbers," said Jane Snorek, a technology analyst at First American Fund Advisors.
In a conference call following the earnings release, HP chief financial officer Cathie Lesjak told analysts that the effects on HP of a weak euro would be "much more muted than you might believe," and have been accounted for in the company's forecast.
Consumer and commercial spending on computers and printers, which comprise about half of HP's sales, continues to climb. The company saw a 20% rise in year-over-year unit sales for its PCs and a 9% increase in printer shipments.
HP's sales rose in every unit except software, where revenue dipped slightly compared to last year. But analysts were generally pleased with the results, and HP's stock rose 2.5% in after-market trading.
"Strength was pretty broad-based. They're obviously landing big deals," Snorek said. "This tells me that business activity is picking up."
In recent months, HP has been on a buying spree. The company in November announced plans to buy 3Com (COMS), a networking gear manufacturer, for $2.7 billion. The deal closed April 12.
In April, HP announced that it would buy troubled smart phone maker Palm for $1.2 billion. But Mark Hurd was quick to cast the move as "not a smart phone play" -- what HP is really after is Palm's intellectual property, Hurd told analysts on Tuesday's call. Owning Palm will better position HP to take advantage of opportunities in the mobile technology market, he said.
The industry is waiting eagerly to see what HP will do with its new prize. With Apple's iPad blazing a trail through the tablet market, analysts expect a counter-move from HP. Will HP scrap its moribund current tablet, which uses the Microsoft Windows 7 operating system, for another that features Palm's technology?
Hurd offered few hints. HP will be a "participant" in the tablet market, but its "extremely important" relationship with Microsoft won't be threatened, he said.
Correction: An earlier version of this story misstated HP's exclusions in its earnings per share figure. CNNMoney.com regrets the error.
Sumner Redstone's National Amusements issued a warning Tuesday to Viacom executives who are fighting to keep their board seats, telling them that their legal challenges are futile. More
Investors are already sifting through the Brexit market rubble for opportunities. Morgan Stanley compiled a list of highly-rated stocks that have limited or no direct exposure to the situation in the U.K. More
Facebook has redesigned the share tools on other websites, part of a larger set of changes designed to spur more sharing on Facebook. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
Chipotle is set to launch a customer loyalty program that starts July 1 and runs through September. More