Welcome Guest, Not a member yet? Register   Sign In
CI4 PDF Customized
#10

This should do the trick.

Code:
composer require tecnickcom/tcpdf

Code:
composer install

PHP Code:
<?php namespace App\Controllers;

use 
TCPDF;

class 
Home extends BaseController
{
    public function 
index()
    {
         
$pdf = new TCPDF(PDF_PAGE_ORIENTATIONPDF_UNITPDF_PAGE_FORMATtrue'UTF-8'false);
    }

Reply


Messages In This Thread
CI4 PDF Customized - by gra - 02-08-2020, 02:09 AM
RE: CI4 PDF Customized - by InsiteFX - 02-08-2020, 05:51 AM
RE: CI4 PDF Customized - by gra - 02-08-2020, 07:01 AM
RE: CI4 PDF Customized - by gra - 02-08-2020, 11:59 PM
RE: CI4 PDF Customized - by InsiteFX - 02-10-2020, 09:29 AM
RE: CI4 PDF Customized - by Hiram Rincon - 04-30-2020, 04:03 PM
RE: CI4 PDF Customized - by littlej - 02-11-2020, 11:07 PM
RE: CI4 PDF Customized - by ONGENERAL_TOWER - 03-11-2020, 07:36 AM
RE: CI4 PDF Customized - by maycoldsm1234 - 04-29-2020, 10:37 AM
RE: CI4 PDF Customized - by jreklund - 04-30-2020, 04:31 PM
RE: CI4 PDF Customized - by cocl - 06-14-2020, 10:33 PM
RE: CI4 PDF Customized - by lomali - 07-15-2020, 01:09 PM
RE: CI4 PDF Customized - by badger - 07-16-2020, 12:00 AM
RE: CI4 PDF Customized - by pippuccio76 - 01-11-2022, 04:10 AM
RE: CI4 PDF Customized - by jreklund - 06-15-2020, 12:17 PM
RE: CI4 PDF Customized - by badger - 06-16-2020, 07:16 AM
RE: CI4 PDF Customized - by [email protected] - 07-05-2020, 02:12 AM
RE: CI4 PDF Customized - by badger - 07-05-2020, 12:13 PM
RE: CI4 PDF Customized - by jreklund - 07-16-2020, 01:12 AM
RE: CI4 PDF Customized - by badger - 07-16-2020, 01:24 AM
RE: CI4 PDF Customized - by lomali - 07-16-2020, 02:05 AM
RE: CI4 PDF Customized - by kenjis - 09-28-2023, 10:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB