Printing

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'...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-09-2003
Steve Robbins
 
Posts: n/a
Default Printing


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?

Thanks for any help.

Reply With Quote
  #2 (permalink)  
Old 09-09-2003
William Maddler
 
Posts: n/a
Default Re: Printing

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
Reply With Quote
  #3 (permalink)  
Old 09-09-2003
Bert
 
Posts: n/a
Default Re: Printing

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.
Reply With Quote
  #4 (permalink)  
Old 09-09-2003
Steve Robbins
 
Posts: n/a
Default Re: Printing

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0