When trying to print a document with multiple sections and at least one section is not marked as "Include On Export" choosing wrong page range ("Pages:") cause a crash when printing.
Example (steps to reproduce):
create new document
add pages to get 8 total
in section manager create second section for pages 5-8
uncheck in first section "Include On Export"
File -> Print
set print range as 1-4 (as the preview shows you only have 4 pages, so 1-4 seems intuitive choice; sidenote... or sidebug: the range appears invisible)
press "Print"
Tested on Windows 11 and latest version of AP.
Expected behaviour: message box informing about wrong range input.