update: changed the input data type to array
update: updated the page-break triggering calculations for the signature region
update: fixed the page-break triggers if the section to be printed has a greater height than the remaining printable area