I found the solution to my problem.
There was an unwanted page break. I clicked the Format tab, then clicked the paragraph symbol, which showed the formatting and the unwanted page break, which I deleted. To hide the formatting marks, I clicked the paragraph symbol again. Everything printed on one page.