Excel file page orientation (portrait, landscape), paper size, print area, page breaks by EasyXLS library! XLSX, XLSM, XLSB, XLS files in Java.
https://www.easyxls.com/manual/tutorials/java/excel-print-area-page-orientation.html