Click to See Complete Forum and Search --> : Positioning for print


tripwater
03-09-2005, 10:47 AM
I am building a invoice report from an XML file and converting it to XHTML to display it. What I need to know is, how can I guarantee that certain info is always printed at the bottom of the page.

The invoice is dynamic and can sometimes have pages of notes, or service items and when it gets printed, I always need the totals section to print on the bottom of the page even if it is the only thing on the last page. So how can I do this using CSS (absolute/relative positioning) or Javascript?

Thank you for any help with this.

tripwater
03-09-2005, 12:31 PM
I want it to print at the bottom of whatever page it ends up on even if it is the only thing there. See what is happening is that we have a windows application that generates reports and they are very clean and neat and certain info has relative X,Y coords to make sure certain sections do not get split up and part of it gets printed on one page then the rest on the next. Now, we are trying to convert all of the data over to XML so others can have access to the data.

So no matter what, the end result needs to have the totals section print at the bottom of the last page. If there is not enough room to fit it then I need it to move to another page by itself and print at the bottom so it is always consistent.

I hope this clears it up more. Thanks

Khalid Ali
03-09-2005, 02:44 PM
css can help u google for @page rules.