The constructor of the HTML2PDF class says, that the $format
parameter is the same as in the tcpdf class. The constructor of the tcpdf class says about the $format
parameter:
@param mixed
$format
The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit) ...
With a little bit of calculation, this make it possible to set the page size to 12'' x 12''. The default unit is millimeters.