...
This commit is contained in:
parent
3858389cbe
commit
f791276987
|
@ -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(){
|
||||||
|
|
|
@ -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;
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue