This is a discussion on Printing within the PHP Language forums, part of the PHP Programming Forums category; I need to create some reports for printing from my database. From everything I can find using Google, there doesn'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Steve Robbins wrote:
> > I need to create some reports for printing from my database. From > everything I can find using Google, there doesn't seem to be any ways to > override the default header and footer. > > Is this still true? Any good workarounds out there? header and footer are controlled by the browser... not sure u can modify them from inside a page... -- WM |
|
|||
|
On Tue, 09 Sep 2003 02:38:31 -0000, Steve Robbins
<srobbins@no.spam.charter.net> wrote: > >I need to create some reports for printing from my database. From >everything I can find using Google, there doesn't seem to be any ways to >override the default header and footer. > >Is this still true? Any good workarounds out there? > The header and footer that appear when printing a html-page cannot be removed by any script as they are added on the client side. But you could provide the users of your website with the info on how to alter the print-settings so the header and footer will not appear... It's under File > Page Setup (Headers and Footers) OR... You could create a PDF with your results, no problems with headers and footers when the user prints out a PDF. B. |
|
|||
|
On Tue, 09 Sep 2003 12:55:15 GMT, Bert <bert@pandora.invalid> wrote:
> On Tue, 09 Sep 2003 02:38:31 -0000, Steve Robbins ><srobbins@no.spam.charter.net> wrote: > > OR... You could create a PDF with your results, no problems with > headers and footers when the user prints out a PDF. Thank you for the help. This is the option that I was considering as an alternative. I hear FPDF is pretty good, so I will have to give that a look. -- The Unofficial a.s.b.b-r Reference Page http://webpages.charter.net/srobbins/redsox/index.html |