• About

FPDF Landscape

January 26th, 2007

I need to make FPDF output a landscape PDF instead of a portrait PDF. I also use fpdi, so I was a little unsure of how to proceed. I found this page:

which had this code:

$pdf= new fpdi("L","pt","A4");

It works, but the scale was messed up, so I ended up just using this code instead:

$pdf= new fpdi("L");

That is awesome, I'll be experimenting with that more.


Yearly Indexes: 2010 2003 2005 2006 2007 2008 2009 2004 2011 2012 2013 2015 2019 2020