Page 1 of 1

Setting "print layout" through php?

Posted: Sat Feb 19, 2005 6:57 am
by ammar
Hi,

I was wondering if its possible to change how a document would print. I'm trying to build an e-shopping application, and i want certain text to always appear at the bottom of the page (maybe in the footer?), however the list of purchased items is sometimes larger, and sometimes smaller, so how do i achieve absolute positioning for the footer text?

Ammar.

Posted: Sat Feb 19, 2005 7:26 am
by jonemo
thats imho a css problem. search for media="print" and @page.

what you also could do is to use phppdflib and create the print view as a pdf.