function fitToPages($width, $height)
    {
        $this->_fit_page      = 1;
        $this->_fit_width     = $width;
        $this->_fit_height    = $height;
    }
function fitToPages($width, $height)
    {
        $this->_fit_page      = 1;
        $this->_fit_width     = $width;
        $this->_fit_height    = $height;
    }
function fitToPages ( $ width , $ height ) { $ this -> _fit_page = 1 ; $ this -> _fit_width = $ width ; $ this -> _fit_height = $ height ; }
Set the vertical and horizontal number of pages that will define the maximum area printed.
It doesn't seem to work with OpenOffice.

@access public
@param  integer $width  Maximun width of printed area in pages
@param  integer $height Maximun heigth of printed area in pages
@see setPrintScale()
Set the vertical and horizontal number of pages that will define the maximum area printed . It doesn t seem to work with OpenOffice .