The doc found here
https://www.copperspice.com/docs/cs_api/class_qpagesize.html#ad25be75e25d767de0eee0f0599a92301
Lists all of the enums as being part of QPrinter. They are QPageSize enums.
https://www.logikalsolutions.com/wordpress/wp-content/uploads/2022/11/qprinter-letter-1.png
Code: Select all
m_footerFont = QFont( "Monospace", 10 );
setPaperSize( QPageSize::Letter );