2017 © Pedro Peláez
 

module zf2tcpdf

ZF2 module for TcPdf

image

oxalis/zf2tcpdf

ZF2 module for TcPdf

  • Thursday, June 6, 2013
  • by Oxalis-France
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

zf2TcPdf 0.0.2-dev:

ZF2 module for TcPdf, (*1)

Release Notes

0.0.2-dev:, (*2)

  • Adaptation pour les projets Oxalis
  • Mise à jour de tcpdf (version 6.0.018)

0.0.1-dev:, (*3)

  • Fork du projet https://github.com/Celtico/QuTcPdf.git

Requirements

  • ZendSkeletonApplication https://github.com/zendframework/ZendSkeletonApplication

Installation

  • Drag a folder into modules folder or vendor folder
  • Enable the module application.config.php

Installation by Composer

See the information if not known composer and clone git

  • http://git-scm.com
  • http://getcomposer.org
cd YourFolderProject/
php composer.phar require "qu-modules/qu-tcpdf":"dev-master"

Integration

  $sm  = $this->getServiceLocator();
  $pdf = $sm->get('QuTcPdf');
  $pdf = $pdf->MyPdf();

  $pdf->setHeaderData($ln = 0,$lw = 0,$ht = 0,$hs = 0,$tc = array(255,255,255),$lc = array(255,255,255));
  $pdf->setFooterData($tc = array(255,255,255),$lc = array(255,255,255));
  $pdf->setPageOrientation($orientation='P', $autopagebreak='L', $bottommargin=-200);

  foreach($pages as $page){

    $pdf->AddPage();

    //Your function
    $this->multiPag($pdf,$page);

    $pdf->lastPage();

  }

  $pdf->Output('test.pdf','I');

References usage and conditions in TcPdf

  • View read me in QuTcPdf/src/TcPdf

The Versions

06/06 2013

dev-master

9999999-dev https://github.com/Oxalis-France/zf2TcPdf.git

ZF2 module for TcPdf

  Sources   Download

BSD-3-Clause

The Requires

 

zf2 module pdf tcpdf