I am generating PDF file using TCPDF, when I try to use inbuilt functions for setting margin, i.e. $pdf->SetMargins(), it doesn\'t work. My main 开发者_JAVA百科purpose for it to remove extra space
I am using TCPDF to create a pdf on the fly. Before the pdf is created i have a loop that takes values from an array of characters and inserts them into a string to provide image names this is the cod
I use PHP and TCPDF to generate online invoices encoded in utf8. I\'ve created font definition files following the tutorial on the tcpdf website using PT-sans .ttf file.
I have the code below and I am guessing what is the center of the page by eye. How would I center the image the proper way?
When I do as follows: $html = \'<div style=\"color: red; border: solid 2px blue; width: 100px; height: 200p开发者_Go百科x;\">Hello World!</div>\';
I have created a custom header for my PDF cre开发者_JAVA技巧ated with TCPDF. Now I would like to add a blue line (about 2px width) that goes across the page at the bottom of the header but can\'t figu
I\'m trying to create a PDF with TCPDF (www.tcpdf.com) and have some problems how I could achieve a Cell with a heading and content.
In TCPDF there is GetCellHeight() for measuring the height of a cell. How do you measure the length or width of a s开发者_运维技巧tring (or block of string) in TCPDF?The method to get the string leng
I am using Yii Framework, TCPDF and jQuery to generate a pdf. The pdf is generated by inputing in a form and submitting it using ajax.
I\'m trying to generate a PDF file containing labels which are 202mm wide by 50mm heigh. I have managed to do this and added the required text and a barcode but my problem is that the labels print out