예제 #1
0
 /**
      Lager standard tcpdf oppstart
      Kalles av bpost og faktura
   **/
 function startPdf()
 {
     $tcpdf = new XTCPDF();
     //$tcpdf->setCreator(PDF_CREATOR);
     $tcpdf->SetAuthor("Zapatistgruppa i Bergen http://www.zapatista.no");
     $tcpdf->setCreator("Zapatistgruppa i Bergen http://www.zapatista.no");
     $tcpdf->SetAutoPageBreak(false);
     //set image scale factor
     $tcpdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
     // Now you position and print your page content
     // example:
     $tcpdf->SetTextColor(0, 0, 0);
     $tcpdf->AddPage();
     return $tcpdf;
 }