Example #1
0
# Alive Parish Software is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Alive Parish Software is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
/* @var $this MarriageCertificateController */
/* @var $model MarriageCertificate */
$pdf = new CertTcPdf('P', 'cm', 'A4', true, 'UTF-8');
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor("Terence Monteiro");
$pdf->SetTitle("Marriage Certificate");
$pdf->SetSubject("Marriage Certificate");
$pdf->SetKeywords("PDF");
$parish = Parish::get();
$pdf->setPrintHeader($parish->cert_header);
$pdf->setPrintFooter(false);
#$pdf->AliasNbPages();
$pdf->AddPage();
$pdf->SetFont("times", "R", 22);
$pdf->Cell(0, 3, "", 0, 1);
$pdf->Cell(0, 0, "MARRIAGE CERTIFICATE", 0, 1, 'C');
$pdf->SetFont("times", "B", 11);
$pdf->Cell(0, 0, "EXTRACT FROM THE REGISTER OF MARRIAGES", 0, 1, 'C');
Example #2
0
# Alive Parish Software is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Alive Parish Software is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
/* @var $this MarriageCertificateController */
/* @var $model MarriageCertificate */
$pdf = new CertTcPdf('P', 'cm', 'A4', true, 'UTF-8');
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor("Terence Monteiro");
$pdf->SetTitle("First Communion Certificate");
$pdf->SetSubject("First Communion Certificate");
$pdf->SetKeywords("PDF");
$parish = Parish::get();
$pdf->setPrintHeader($parish->cert_header);
$pdf->setPrintFooter(false);
#$pdf->AliasNbPages();
$pdf->AddPage();
if ($parish->cert_header) {
    $comm_src = dirname(__FILE__) . "/../../../images/holy-commn-remember.jpg";
    $pdf->Image($comm_src, 1, 6, '', 12, 'JPG', '', 'T', false, 300, 'C', false, false, 0, false, false, false);
    $pdf->Cell(0, 14, "", 0, 1);
} else {
Example #3
0
# Copyright (C) 2013  Redemptorist Media Center
#
# Alive Parish Software is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Alive Parish Software is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
$pdf = new CertTcPdf('P', 'cm', 'A4', true, 'UTF-8');
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor("Terence Monteiro");
$pdf->SetTitle("Death Certificate");
$pdf->SetSubject("Death Certificate");
$pdf->SetKeywords("PDF");
$parish = Parish::get();
$pdf->setPrintHeader($parish->cert_header);
$pdf->setPrintFooter(false);
$pdf->AddPage();
$pdf->SetFont("times", "R", 26);
$pdf->Cell(0, 5, "", 0, 1);
$pdf->Cell(3, 0, '', 0, 0);
$pdf->Cell(0, 0, "ROMAN CATHOLIC CEMETERY", 0, 1, 'L');
$pdf->SetFont("courier", "B", 16);
$pdf->Cell(5, 0, '', 0, 0);