PDF Export - Records in detail

I have a form I’m trying to export to PDF.

IT contains a detail grid and sometimes it contains more than one page, but PDF export just print 10 lines.

There are some way to solve this without changing default number of records show?