HP beats estimates, sees printer demand gain steam