PDF FORM AND ATTACHMENT WIZARD
PDF Start
Email Form Example
24 piece break down
book
Needed PDF Files
Column Span
$pdf->Cell(8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 128 136 144 152 160 168 176 184 192 default ,{{ columnheight }},'{{ hint }}',{{ border }});
$pdf->MultiCell(8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 128 136 144 152 160 168 176 184 192 default ,{{ columnheight }},"{{ hint }}",{{ border }});
Cell right Justified: $pdf->Cell(8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 128 136 144 152 160 168 176 184 192 default ,{{ columnheight }},'{{ hint }}','',0,'R');
$pdf->Image('{{ ImagePath }}',{{ ImageLeft }},{{ ImageTop }},{{ InageSize }});
$pdf->Image('{{ ImagePath }}',{{ ImageLeft }},{{ ImageTop }},{{ InageSize }},0,'jpg','https://URLURL');
$pdf->SetTextColor('250','20','105');
$pdf->SetFont('Arial','B',16);
$pdf->ln({{ columnheight }});
$pdf->Write({{ columnheight }},'Visit MooseLoose.com','http://mooseloose.com');
<?php
require('fpdf.php');
class PDF extends FPDF
{
function Header()
{
global $title;
$this->SetFont('Arial','B',25);
$w = $this->GetStringWidth($title)+6;
$this->SetX((210-$w)/2);
$this->SetDrawColor(255,255,255);
$this->SetFillColor(255,255,255);
$this->SetTextColor(0,0,0);
$this->SetLineWidth(0);
$this->Cell($w,2,$title,1,1,'C',false);
$this->Ln(10);
}
function Footer()
{
$this->SetY(-15);
$this->SetFont('Arial','I',8);
$this->SetTextColor(128);
$this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
}
function ChapterTitle($num, $label)
{
$this->SetFont('Arial','',14);
$this->SetTextColor(0,0,0);
$this->SetFillColor(240,240,240);
$this->Cell(0,6,"Chapter $num : $label",0,1,'L',true);
$this->Ln(1);
}
function ChapterBody($file)
{
$txt = file_get_contents($file);
$this->SetFont('Times','',12);
$this->MultiCell(0,5,$txt);
$this->Ln();
$this->SetFont('','I');
}
function PrintChapter($num, $title, $file)
{
$this->AddPage();
$this->ChapterTitle($num,$title);
$this->ChapterBody($file);
}
}
$pdf = new PDF();
$title = '{{ BookTitle }}';
$pdf->SetTitle($title);
$pdf->SetAuthor('{{ Author }}');
$pdf->SetSubject('{{ Subject }}');
$pdf->SetKeywords('{{ Keywords }}');
$pdf->SetCreator('{{ Creator }}');
$pdf->PrintChapter(1,'{{ Chapter1Title }}','{{ Chapter1Text }}');
$pdf->PrintChapter(2,'{{ Chapter2Title }}','{{ Chapter2Text }}');
$pdf->PrintChapter(3,'{{ Chapter3Title }}','{{ Chapter3Text }}');
$pdf->PrintChapter(4,'{{ Chapter4Title }}','{{ Chapter4Text }}');
$pdf->PrintChapter(5,'{{ Chapter5Title }}','{{ Chapter5Text }}');
$pdf->PrintChapter(6,'{{ Chapter6Title }}','{{ Chapter6Text }}');
$pdf->PrintChapter(7,'{{ Chapter7Title }}','{{ Chapter7Text }}');
$pdf->PrintChapter(8,'{{ Chapter8Title }}','{{ Chapter8Text }}');
$pdf->PrintChapter(9,'{{ Chapter9Title }}','{{ Chapter9Text }}');
$pdf->PrintChapter(10,'{{ Chapter10Title }}','{{ Chapter10Text }}');
$pdf->Output();
?>
<?php
require('fpdf.php');
$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
//$pdf->Image('form.jpg',0,0,210);
//$pdf->SetTextColor('250','20','105');
//$pdf->MultiCell(95,5,"$Field01",0);
//$pdf->Cell(95,10,"$Field01",0);
$pdf->Output();
?>
1 | 8
2 | 16
3 | 24
4 | 32
5 | 40
6 | 48
7 | 56
8 | 64
9 | 72
10 | 80
11 | 88
12 | 96
13 | 104
14 | 112
15 | 120
16 | 128
17 | 136
18 | 144
19 | 152
20 | 160
21 | 168
22 | 176
23 | 184
24 | 192