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 ...
As I think most people know already, or if you don't, FPDF released a new version, 1.6 this past August after almost 4 years without a release. I'm wondering if anyone has had any problems upgrading from 1.53 to 1.6?
...
I have some HTML that includes bolding, italics, small tag, big tag, blockquote tag, bullets, and numbered items. I need to convert it to PDF via PHP. I tried FPDF, but it was entirely too complex. I tried html2pdf PHP library, which uses FPDF, but it was very buggy and unreliable. What do you recommend?
Note: Imagine your typical resum...
I'm wondering which is the best PDF creation library for PHP, mainly for creating PDFs from scratch (not as much HTML to PDF)?
I have worked with FPDF for quite a while now, but it's getting quite old and hasn't had much for updates. I found TCPDF the other day (thanks you another question on SO). It seems very good and is based on FPDF...
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 have some problem with inserting image when i generate pdf using FPDF library (ASP port version) you can get it here ASP FPDF
I have tried this code (this was ASP VBScript):
pdf.Image Server.MapPath("map.jpg"), 10, 10, 800, 400
pdf.Image "map.jpg", 10, 10, 800, 400
pdf.Image "http://localhost/pdf_test/map.jpg", 10, 10, 80...
Hi this might seem like a weird question. Anyway, I'm generating some PDF file on the fly using PHP and some third party code I found. My problem is I need to insert line breaks in some part of the text that will be inserted in the PDF file. Something like:
$pdf->InsertText('Line one\n\nLine two');
So it prints
Line one
Line two
I k...
I have a web page (XHTML 1.0 Transitional) which I want to convert to PDF on server and mail the same to an email id as attachment.
The web page is dynamically loaded with information that comes from 4 different table from MySQL. So it is not a static HTML page.
The solution should work on almost servers whether they are linux or windo...
Hi all, I have a problem in creating table structure in pdf using fpdf library. when any data of perticular cell have a long string then the cell data will overlap with other cell data.
So whole table data has been disordered. then data in pdf will not seem correctly.
any one please help me to create table in pdf auto adjust all cells a...
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 use FPDF to generate a pdf file and open it in a new window.
how to pop up the print window when it is opened in a new window?
...
I need to create a pdf file with the fpdf library and save it in a blob field in my MySQL database.
The problem is, when I try to retrieve the file from the blob field and send it to the browser for the download, the donwloaded file is corrupted and does not display correctly.
The same pdf file is correctly displayed if I send it immedi...
I am trying to generate a pdf which contains a table with split/merged cells looking like so:
Cell | Cell | Cell
Cell | C1 | C2 | Cell
| C1 | C2 | Cell
I am using fpdf and was referred to the multicell table script, which I have used previously in similar pdfs. I looked at the code and can't think of a way to make the cell...
i have found some pdf file geneartion program in php.
When i reun it i get the following error
Warning: require(/include/fpdf153/fpdf.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\aks\mikepdf.php on line 57
Fatal error: require() [function.require]: Failed opening required '/include/fpdf153...
I am using java port of fpdf. I am encountering fowwlowing errors.
1).When i call multicell 2 times every time the text is printed on a new line.
MultiCell(0, 1, "abcd", currentBorders, Alignment.LEFT, false); //prints on one line
MultiCell(0, 1, "efg", currentBorders, Alignment.LEFT, false); //prints on next line
I want that there ...
Here is an example of my problem: http://idea-palette.com/pdf/
I'm using FPDF to write some text on a PDF. I'm displaying 8 different cells of text. The Cells are being displayed, but after two cells, it puts the next cell onto a new page as If I had asked for a new PDF page to be made, but I did not. I'm guessing it is somehow pushing ...
I'm trying to layout a business card on a PDF with the FPDF class using a form field that the user fills out. I have been able to create the text needed for the card, but I have a logo that I want to output as well.
The problem I am facing is that I can only find a way to add an Image as a JPEG and it looks pixelated when the user zooms...
The server information says that the PHP version is 5.2.10. Our fPDF works on version 5.3, but not version 5.2.8.
The error is always
FPDF error: Missing or incorrect image file:
What is the problem?
Code Snippet:
<?php
require('fpdf.php');
class PDF extends FPDF
{
var $aCols=array();
function Header()
{
//Logo
$this...
i have this file C:\\xampp\htdocs\exact\sample_pie.php that contains a graph. here's the code:
<?php
include("phpgraphlib.php");
include("phpgraphlib_pie.php");
include("connection.php");
$graph=new PHPGraphLibPie(400,200);
$link = mysql_connect('localhost', 'root', '');
mysql_select_db('exact');
$querypa = "SELECT COUNT(nature) FROM ...
To avoid "monster characters", I choose Unicode NCR form to store non-English characters in database (MySQL). Yet, the PDF plugin I use (FPDF) do not accept Unicode NCR form as a correct format; it displays the data directly like:
這個一個例子
but I want it to display like:
這個一個例子
Is there any met...