This commit is contained in:
Martin Müller 2014-04-30 00:40:44 +02:00
parent 3858389cbe
commit f791276987
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ class XTCPDF extends TCPDF{
else else
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R'); $this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R');
$this->SetMargins(25,25,20,25); $this->SetMargins(25,25,20,25);
$this->SetHeaderMargin(50); $this->SetHeaderMargin(25);
$this->SetFooterMargin(40); $this->SetFooterMargin(20);
} }
function Footer(){ function Footer(){

View File

@ -78,6 +78,6 @@ foreach($WORKER['DreamjobPageInh'] as $page){
//$tcpdf->Output('profil.pdf','I'); //$tcpdf->Output('profil.pdf','I');
// TO Download // TO Download
$tcpdf->Output('profil.pdf','I'); $tcpdf->Output('profil.pdf','D');
return null; return null;
?> ?>