承接 qu-modules/qu-tcpdf 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

qu-modules/qu-tcpdf

Composer 安装命令:

composer require qu-modules/qu-tcpdf

包简介

ZF2 module for TcPdf

README 文档

README

ZF2 module for TcPdf

Release Notes

0.0.1-dev:

  • Initiation TcPdf in zf2

Requirements

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

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

统计信息

  • 总下载量: 7.09k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2012-11-26