tcpdf Questions
5
Solved
I get my images in my pdf document on my localhost but on the production site i get the error TCPDF ERROR: [Image] Unable to get image i am using an html img tag to get the images and the src is th...
2
Solved
I haven't found a way to control linespacing in TCPDF's MultiCell as of version 5.9. Nor have I found any method that helps to mimic the same behaviour by using Cell, such as some method that retur...
Naissant asked 13/3, 2012 at 10:28
8
I try to create a PDF with multiple pages and need to calculate the height of each individual element (MultiCell) in advance to prepare for a page break. According to the documentation there are a ...
2
My site draws a column chart. I have a button to save it as a PDF file showing it before saving.
The way it works now is this.
google.visualization draws the chart.
html2canvas takes a screenshot ...
11
I am using TCPDF to generate a pdf.
My issue is the following line from the Footer() method:
$this->Cell(0, 10, 'Page '.$this->getAliasNumPage().'/'.$this->getAliasNbPages(), 'T', false,...
15
Solved
In TCPDF, there are only a few fonts to choose from, to create pdf files. I want to set Tahoma as my pdf font. How can I include Tahoma in TCPDF??
Nannettenanni asked 10/3, 2011 at 17:43
9
Solved
I am a web programmer with no in-depth knowledge of fonts and am struggling to get TCPDF to include our custom OpenType font. We have bought OpenType font files (.oft), which are not protected by a...
4
Solved
I'm trying to make generate a pdf from a view but the styles just won't come out. I've tried using 3 different libraries but the results aren't much different. Am I missing something?
view
<!DOC...
Shropshire asked 27/5, 2021 at 21:35
13
Solved
By default, the values within tables cells (within tables generated by TCPDF) are vertically aligned right at the top of the cell.
Has anyone found a simple method for vertically aligning text to ...
Marquettamarquette asked 28/5, 2012 at 7:49
13
I'm trying to generate pdf with the combination of TCPDF and FPDI. Here is my code.
require_once('../tcpdf/tcpdf.php');
require_once('../FPDI/fpdi.php');
$fileName = '../sample.pdf';
class PDF e...
5
Can someone put together a clear and concise example of how you can create a PDF using TCPDF that will support text strings from any language?
It appears there is not a single font that will suppo...
9
I am creating a large HTML table and I have problem with page breaks as you can see in the following image:
Is there a method settle down the problem automatically? Or what is the way to do it?
4
I'm using the tcpdf library to generate the pdf document. I'm using smarty template engine to hold the data. Below is the script to put in the header data:
// set default header data
$pdf->SetH...
1
I am using html to create pdf. Below is my code:
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
$pdf->SetMargins(15, 20, 14, 0);
$pdf->SetAutoPageB...
3
Solved
How can I create a link with TCPDF?
When using the writeHTML() function and passing my whole html content, TCPDF doesn't make my links clickable. They are blue and underlined but I cannot click th...
6
How can I create a new document using other PDFs that I'm generating?
I have methods to create some documents, and I want to merge them all in a big PDF, how can I do that with TCPDF?
I do not w...
4
so after browsing through many packages like TCPDF, FPDP, DOM2PDF and many other excellent php pdf packages, I couldn't find this feature in any packages where it allows to split the pdf file...
4
I need to align an image . But I did not get with the parameters passed inside the Image function in tcpdf .
$pdf->Image(Image_Path, 0, 250, 210 , 0, 'PNG', '', '', false, 300, '', false, fals...
2
I am generating PDF report using TCPDF's Cell method extensively. Text printed with Cell method spills beyond width specified in method. I want to print only as much part of the text that fits in t...
5
I need to handle images in TCPDF
I get this error.. Imagemagick is installed, but how do I tell TCPDF the path to imagemagick?
TCPDF ERROR: TCPDF requires the Imagick or GD extension to handle PN...
Herpetology asked 20/8, 2012 at 18:35
4
Solved
6
Solved
I am trying to create a header in TCPDF, however it always have a border underneath of it. Is there a way I can remove the bottom border?
4
I need to print many 1D and 2D barcodes and plce them inside a html formatted doc. Looking around I found that this is possible using TCPDF methods, indeed the example No.49 gives the solution.
$p...
16
Solved
Im using latest TCPDF version(5.9). But have some strange problems with encoding. I need Lithuanian language symbols like: ąčęėįšųūž. But get only few of it. Other remain like ?????
So what should ...
6
Solved
I've this string from Mysql db:
$img_base64_encoded =
'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vR...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.