Initializing TCPDF constants as instance parameters

The TCPDF setPageFormat() method is protected, preventing customization of page dimensions without tweaking libraries. By replacing TCPDF constants with class properties, we can change values in the TCPDF constructor.