Hewlett-Packard is planning to cut between 25,000 and 30,000 jobs, the company has announced. The move is part of an…