Welcome Guest, Not a member yet? Register   Sign In
TCPDF Problem
#11

[eluser]tecrik[/eluser]
Thanks, works for me as well! Smile
#12

[eluser]CmAnD[/eluser]
[quote author="AndoAttack" date="1259115566"]I've seen this problem too, and I adjusted the tcpdf.php file around line 948 (version 4.6.013):

Code:
protected $cell_height_ratio = 1.25; //K_CELL_HEIGHT_RATIO;

Yes, it worked for me too.
Thanks!!
#13

[eluser]Unknown[/eluser]
hi, just comment line 3 to 8 on libraries/pdf.php

your code should look like this:


<?php


/*
# override the default TCPDF config file
if(!defined('K_TCPDF_EXTERNAL_CONFIG')) {
define('K_TCPDF_EXTERNAL_CONFIG', TRUE);
}
*/

# include TCPDF
require(APPPATH.'config/tcpdf'.EXT);
require_once($tcpdf['base_directory'].'/tcpdf.php');
#14

[eluser]d2burke[/eluser]
Thanks Joebert, that was a simpler fix Smile
#15

[eluser]The Right Gang[/eluser]
[quote author="AndoAttack" date="1259115566"]I've seen this problem too, and I adjusted the tcpdf.php file around line 948 (version 4.6.013):

Code:
protected $cell_height_ratio = 1.25; //K_CELL_HEIGHT_RATIO;

So I just hardcoded the value 1.25 - got the value from tcpdf_config.php.[/quote]

Thank's. It worked for me
#16

[eluser]Unknown[/eluser]
thanks for the light AndoAttack! It's been 2 days since I'm trying out pdf libraries and finally got one that seems to work awesome




Theme © iAndrew 2016 - Forum software by © MyBB