Hewlett-Packard Co raised its 2013 earnings outlook after quarterly results beat low expectations, as CEO Meg Whitman's turnaround plan helped offset shrinking personal computer sales with enterprise computing services.