Whatever is currently displayed on the screen is what is printed. So change the person currently selected, and change the number of generations under "Show options" at the bottom. There are other options there you might be interested in changing as well.