Starting in Maple 2019.2 all sections will be expanded by default when printing or exporting to PDF. This was done in order to prevent information accidentally being left out of exported PDFs.
If you wish to leave sections minimized when printing you can do so by going to:
View > Sections > Autoexpanding Sections
and de-selecting Autoexpanding Sections.