I have a new though different HP all-in-one model, but the software should be pretty similar. Using HP's software, select Printer Settings - Advanced - Layout Options - Page Order and check the Front-to-Back box.
I had an older HP model which had a similar printer setting somewhere, but HP keeps rewriting their software which is not their strong point.