realjumper Posted June 7, 2007 Share Posted June 7, 2007 Hi, I need to create a pdf on the fly from 6 fields of my database. What my question is, is how can I make sure that the pdf created is in the landscape profile, not the portrait profile? I have never created PDF's on the fly from a db before, so if someone could point me in the right direction I'd be gratefull. Thanks, Neil Link to comment https://forums.phpfreaks.com/topic/54649-creating-pdf/ Share on other sites More sharing options...
realjumper Posted June 8, 2007 Author Share Posted June 8, 2007 Hmmm....well that makes 3 questions in a row that have gone unanswered here. Never mind though....I'll figure this out myself. Thanks Link to comment https://forums.phpfreaks.com/topic/54649-creating-pdf/#findComment-270394 Share on other sites More sharing options...
ToonMariner Posted June 8, 2007 Share Posted June 8, 2007 lots of reading fo you fella http://uk.php.net/manual/en/ref.pdf.php but when you get to it you can set the width greater than teh height in the creat page function http://uk.php.net/manual/en/function.pdf-begin-page-ext.php or http://uk.php.net/manual/en/function.pdf-begin-template-ext.php hope they are helpful.... Link to comment https://forums.phpfreaks.com/topic/54649-creating-pdf/#findComment-270411 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.