I am trying to import an existing PDF as a template with FPDI. The template is in landscape format. If I import the template into a new document the template page is inserted in portrait form with the content rotated 90 degrees. If my new document is in portrait the full content appears, but if the new document is also landscape, the ...
I am trying to add an existing PDF (created otherwise) to a PDF created with FPDF using FPDI. It seems to work find for most PDFs, but I get the following error:
FPDF error: Unable to find xref table.
After some testing, I figured out that if I use a PDF version of 1.4 or lower (Acrobat v5 or lower) it seems to work. Looking at the fi...
Hi There,
I am using FPDF / FPDI to build a pdf templating system. One pdf is used as the background and has a number of editable regions defined within it (stored in database). An editable region could be an image, or text, or both, however this is not my question, just a bit of background.
Some of the backgrounds (FPDI source pdf) ...
I'm using FPDI together with TCPDF to add a page to a already existing PDF-file. This works great, but I have one problem. When I output the new PDF I get an automatic page counter in the lower right corner, "112/299" for example. I find no documentation in FPDI or TCPDF about this automaticly generated page counter.
This problem only ...
I'm trying to generate a pdf file from html using dompdf0.6a and that works fine, but then i need to encrypt it for protection, but i get error
FPDF error: Unable to find xref table - Maybe a Problem with 'auto_detect_line_endings'
However if I use older dompdf versions it works fine. I guess it generates newer pdf version that fpdi d...
I am trying to generate a PDF that outputs Item Names onto a template PDF (using FPDI) with the Username listed on the top of each page. Every user can have a different number of items (i.e. if there are 1-4 items, only output one page; if there 5-8 items, output two pages, etc.)
Here is an example of what I am trying to do: http://www...
Hi Guys,
I have go TCPDF setup in my cake php install and am now trying to also use FPDI with it as i need to add a PDF to the start of the PDF that is being generated.
WHen trying to do this i am using 3 classes
XTCPDF which holds my header data
FPDI - FPDI class
TCPDF - TCPDF class
and it is setup as so:
XTCPDF extends FPDI
FPDI...
I am using TCPDF with FPDI's bridge. The issue I'm having is that as soon as I use the startTransaction() I get the following error:
TCPDF ERROR: Cannot access protected property FPDI:$numpages / Undefined property: FPDI::$numpages
and the script ends (because of the die in the TCPDF::Error() method).
Here is the code I'm using:
$pd...
Hi, I have to deal with PDF files that happen to be collections of pdfs (think of it like a folder of pdfs)
Will FPDI correctly import this kind of file ? and How ? :)
...
Every time I draw a cell, I get this weird padding between where the border ends and where the text begins. This happens for left and right aligned text.
It's much easier to show than describe, so here we go. My code sample:
class FPDI_Report extends FPDI {
var $now = null;
function __construct() {
$args = func_get_a...