In this tutorial, we've put together a basic PDF file with nothing
but a line of text in it. However, FPDF is capable of far more. The
library has a lot of complex yet high level functionality available -
you can work with headers and footers, easily handle page breaks,
insert images, use multiple columns and tables, and even insert
hyperlinked text.
The fpdf.org website has an excellent collection of tutorials; head over to the FPDF tutorial page and have a browse through. You'll notice that the tutorials use OOP to construct pages, defining a class that extends the core FPDF
class. The library is very flexible, and works just as you'd expect any
normal PHP class to - and this is where its strength lies. Experiment
with the library as you read through the tutorials, and you will
quickly find how easy it is to create detailed PDF files in PHP.