Hi, I am habving problem with tcpdf library.I am using Version: 5.9.162.I have a table format structure and the user writes in the table format and add the data and creates the pdf but my pdf file is not creating as i wish to create them some of the data is displayed and some is not.I am using writeHtml() function of tcpdf library and the error it gives me in the error log is PHP Warning: array_push() [<a href='function.array-push'>function.array-push</a>]: First argument should be an array in tcpdf\tcpdf.php on line 21713.The line is // store the TR elements IDs on table …

Member Avatar
Member Avatar
+0 forum 3

Hi, I have a problem in creating a pdf document. I am using tcpdf for displaying the pdf file. I want to display 10 records on a page and if the records exceeds than 10 then we will be adding another page and displaying it on the next page. The records that I am displaying are in table. I have tried to use the addPage function of tcpdf but no success. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Hi, I am using tcpdf library to create pdf files and they are password protected.Now I have a condition where I want to merge different pdf files and create a single pdf file and dipslay the multiple pdf files to the user in a single pdf file.I am having problem that I am not able to reade the content of the file.I think it is because of the password protection.Here is my code foreach($rows as $row){ if(file_exists($row['reports'])){ $file= $row['reports']; $utf8text = file_get_contents($row['reports'], true); $pdf->SetFont('times', '', 10); $pdf->AddPage(); $pdf->Write(5, $utf8text); } } $pdf->Output('doc.pdf', 'I'); Now is there any way that I …

Member Avatar
Member Avatar
+0 forum 3

Help ME Please everybody. I'm using Cakephp to make an online application system.My problem now is that I try to print a pdf using TCPDF based on a view.. I use the code $this->writeHTML($this->render('print') ) in my print controller.. But the problem is that I have this undefined index : cols error output to screen. What could possibly went wrong? I'm using Cakephp 1.3

Member Avatar
Member Avatar
+0 forum 1

The End.