Setting "print layout" through php?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ammar
Forum Newbie
Posts: 2
Joined: Sat Feb 19, 2005 6:48 am

Setting "print layout" through php?

Post 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.
jonemo
Forum Commoner
Posts: 28
Joined: Wed Feb 09, 2005 1:32 pm
Location: london, uk

Post 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.
Post Reply