473,770 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[fpdf] setSourceFile gone in fpdf v.1.53

Hi,

I'm having problems with fpdf v.1.1 used on the site - it doesn't open
all PDFs with setSourceFile it says something about "missing xref
headers". So I tried to install a newer fpdf version the v.1.53. And now
the setSourceFile method of the previous fpdi class (now it is called
FPDF) is gone. What should be used instead of it?
Jun 2 '08 #1
1 2784
Sergei Riaguzov wrote:
Hi,

I'm having problems with fpdf v.1.1 used on the site - it doesn't open
all PDFs with setSourceFile it says something about "missing xref
headers". So I tried to install a newer fpdf version the v.1.53. And now
the setSourceFile method of the previous fpdi class (now it is called
FPDF) is gone. What should be used instead of it?
Oh.. I'm so stupid. I have to download the fpdi package also.
Jun 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
19900
by: madeo | last post by:
hi, i'm looking for some script which would export address labels from a mysql db to pdf ... There's an exapmle, but i'm not able to convert it for using with mysql ... can anybody help? THX a lot Martin :)
4
15756
by: Phillip T. Murphy | last post by:
Not sure if this is the correct forum, but since FPDF is a PHP script, I thought I would give it a try... I am having a problem getting ANYTHING to print in a header using the FPDF functions. I can get text to go into the main body of the PDF file, but nothing into a header. I have messed with this for several hours, seached the web and no luck. Any help would be greatly appreciated. Here is my script - which prints "Test Output" in...
2
7183
by: LordMerlin | last post by:
Hi I'm trying to write a label printing routine, but I'm not being too sucsessful. I'm hoping maybe someone who's used FPDF b4 can help me out? Basically, I want to print labels from a data taken from a MySQL DB, but it doesn't output the labels properly. As soon as it gets to the bottom of the page, it kinda spans the bottom two labels across the two pages. How do I tell it to print the whole last label on the second page? I had a look at...
3
30341
by: K. | last post by:
Hello! Could you be so kind and help me with one problem I have. I would like to put an image into the table while creating PDF file. I use fpdf class (www.fpdf.org). I cannot find any example in internet and group archieves and www.fpdf.org page.
0
3060
by: Mihamina (R12y) Rakotomandimby | last post by:
Hi, In http://www.fpdf.de/downloads/addons/3/ we can find a function that tries to predict the number of lines un a multicell. I dont understand the algorithm, variables are also named with short names. Would you help to explain? Thank you.
1
6581
by: Thivya | last post by:
hello, I am using Jpgraphs to generate graphs..i have to display the data for plotting the graphs as well.These results has to be in PDF.hence i used FPDF to generate pdf.. Now i can display the data in table format,which are used for plotting the graphs...But i dont know how to insert the graph in FPDF.. I have seen the tutorial where they use the $logo=get contence.....(http://localhost/graph.php) I had tried this but it is not...
6
5480
by: Steve | last post by:
been gleening the user docs for fpdf. there's one simple example for using the image function. i can't seem to get it to work. has anyone else had problems with this, and if so, what did you do to diagnose and fix the problem? tia, me
5
7809
by: cappieins | last post by:
Hi, i've got a problem using PHP FPDF library to create PDF files send inline to a browser window. The created PDF file opens correctly in the browser (IE 6), but if I want to save it to my local disk, there is not automatically the filename used I passed
3
3943
by: shikimori | last post by:
HI guys i'm newbie here, sorry if my english is not so well, (well i'm rarely using english ^^) my question is that i'm using PHP to create a report (the report is using FPDF class) as example if i want to create a sales report based on period defined by the user so the value of the starting period n the ending period is saved into a variable to be used for query. now the main problem is when a submit button is pressed and the page is...
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10257
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.