Esempio n. 1
0
function pageToPDF($page, $template, $text)
{
    $pdf = new concat_pdf('P', 'mm', 'Letter');
    $pdf->setFiles($page);
    //$files is an array with existing PDF files.
    $pdf->setInput($text, $template);
    $pdf->concat();
    $pdf->Output('boo.pdf', 'I');
}
Esempio n. 2
0
function _endpage()
{
    if($this->angle!=0)
    {
        $this->angle=0;
        $this->_out('Q');
    }
    parent::_endpage();
}