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.