Hewlett-Packard said its quarterly revenue fell in almost every business segment over the year.

The decreases highlighted weaknesses ahead of the company's planned 2015 separation of its enterprise services from its traditional computer and printing units. 

Sales fell 2.5% in the fourth quarter to $28.41 billion, from $29.13 billion a year earlier, HP said last night. Analysts had expected sales of $28.76 billion. 

Profit declined 2.7% to $2.01 billion, or $1.06 cents a share, compared with $1.01 cents a share a year ago, in line with expectations. 

"I've always said that turnarounds aren't linear," the company's chief executive Meg Whitman told analysts on a conference call while highlighting HP's performance compared with three years ago, when she became CEO. 

"We're right where we thought we'd be," she added. 

The enterprise group and enterprise services, areas that Whitman had previously flagged as growth drivers, showed revenue declines of 4% and 7% respectively. 

Whitman said she expected a slower decline in enterprise revenue next year. Enterprise services would be the biggest "swing factor" in the company's 2015 growth projections, she said. 

For next year, the company said it expects to earn $3.83 to $4.03 per share, up from $3.74 for 2014. 

The company's personal computer division, its largest and most mature, grew by 4% after a 12% jump in the previousr quarter. 

Much of the growth in PCs was driven by a Microsoft decision to quit supporting older software, a process that Whitman said was largely complete. 

The high-margin printer business shrank by 5%. 

The company said last month it would split into two listed companies next year, separating its computer and printer businesses from its faster-growing corporate hardware and services operations, and eliminate another 5,000 jobs as part of its turnaround plan. 

"This separation was totally the right thing to do for this company," Whitman said.