Generate text that is semantically similar to this text: analysts expected earnings of 27 cents a share on revenue of $ 17.7 billion , thomson first call says .
hewlett-packard is putting in for a second-quarter profit of $ 659 million , or 29 cents a share , on revenue of $ 18 billion .