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