@Amber Thompson about the only ways I can think of would be to artificially limit your item table to no more than X # of lines (you may have to experiment to see at what # it goes to a second page), or to have a summarized print out that doesn’t use the line items at all, so you can control the layout exactly. Unfortunately, you can’t perform logic with the page number values. They are only computed by the PDF rendering engine (BFO), the FreeMarker template has no concept of pages.
You can also try decreasing fonts size and margins to fit more into a page, but eventually things can become hard to read.
What are you trying to achieve (or avoid) with this?