HP, trying to jumpstart its once-mighty consumer printing business, is investing in sustainable forests and making ink cartridges out of recycled plastic from Haiti.