Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Remove Header and Footer

Reply
Thread Tools

Remove Header and Footer

 
 
Smitro
Guest
Posts: n/a
 
      12-21-2004
Hi,

It seems that everyone has headers and footers enabled on there browser.
I am creating on online database that prints quotes and invoices for our
staff. Is it possible to remove the Headers and Footers when printing
documents? My guess it that the users will want them to be left on for
other print outs. So is it possible to make it page specific? (maybe
adding a little HTML/DHTML/JAVA script)
 
Reply With Quote
 
 
 
 
Neal
Guest
Posts: n/a
 
      12-21-2004
On Tue, 21 Dec 2004 12:39:57 +1000, Smitro
<> wrote:

> Hi,
>
> It seems that everyone has headers and footers enabled on there browser.
> I am creating on online database that prints quotes and invoices for our
> staff. Is it possible to remove the Headers and Footers when printing
> documents?


No. That's a browser setting.

> My guess it that the users will want them to be left on for other print
> outs. So is it possible to make it page specific? (maybe adding a little
> HTML/DHTML/JAVA script)


No. Nothing the author can/should do.
 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      12-21-2004
Previously in alt.html, Smitro <> said:

> Hi,


G'day.

> It seems that everyone has headers and footers enabled on there browser.


If you're talking about the info that the browser adds (page address,
date printed, et al), then in most cases, yes. That is the factory
default.

> I am creating on online database that prints quotes and invoices for our
> staff. Is it possible to remove the Headers and Footers when printing
> documents?


Change the printer settings in your browser.

> My guess it that the users will want them to be left on for
> other print outs. So is it possible to make it page specific? (maybe
> adding a little HTML/DHTML/JAVA script)


No.

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      12-21-2004
Smitro wrote:
> I am creating on online database that prints quotes and
> invoices for our staff. Is it possible to remove the Headers and
> Footers when printing documents?


For IE:
http://developer.irt.org/script/1437.htm
example:
http://www.codestore.net/store.nsf/u...N?OpenDocument

--
Nico
http://www.nicoschuyt.nl


 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      12-21-2004
Nico Schuyt wrote:
> Smitro wrote:
>
>>I am creating on online database that prints quotes and
>>invoices for our staff. Is it possible to remove the Headers and
>>Footers when printing documents?

>
>
> For IE:
> http://developer.irt.org/script/1437.htm
> example:
> http://www.codestore.net/store.nsf/u...N?OpenDocument
>


So, what about everyone else? 1 in 10 people dont use IE.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
Reply With Quote
 
Steve Pugh
Guest
Posts: n/a
 
      12-21-2004
On Tue, 21 Dec 2004 09:59:27 +0000, SpaceGirl
<> wrote:
>Nico Schuyt wrote:
>> Smitro wrote:
>>
>>>I am creating on online database that prints quotes and
>>>invoices for our staff. Is it possible to remove the Headers and
>>>Footers when printing documents?

>>
>> For IE:
>> http://developer.irt.org/script/1437.htm
>> example:
>> http://www.codestore.net/store.nsf/u...N?OpenDocument
>>

>
>So, what about everyone else? 1 in 10 people dont use IE.


It also won't work for any IE user who, quite sensibly, doesn't allow
random ActiveX controls to be run.

He did say that it was 'staff' so maybe he can be certain that only IE
users with JavaScript and ActiveX permitted will use this facility.
Poor them.

Steve

 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      12-21-2004
SpaceGirl wrote:
> Nico Schuyt wrote:
>> Smitro wrote:


>>> I am creating on online database that prints quotes and
>>> invoices for our staff. Is it possible to remove the Headers and
>>> Footers when printing documents?


>> For IE:
>> http://developer.irt.org/script/1437.htm
>> example:
>> http://www.codestore.net/store.nsf/u...N?OpenDocument


> So, what about everyone else? 1 in 10 people dont use IE.


That means a solution for 90%. The other 10% will see a header and footer on
the print. No real problem I think.
But it's probably not relevant in this case. The OP mentioned ' for our
staff.'
(Do you have a better solution
--
Nico
http://www.nicoschuyt.nl


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      12-21-2004
Smitro

> Hi,
>
> It seems that everyone has headers and footers enabled on there browser.
> I am creating on online database that prints quotes and invoices for our
> staff. Is it possible to remove the Headers and Footers when printing
> documents? My guess it that the users will want them to be left on for
> other print outs. So is it possible to make it page specific? (maybe
> adding a little HTML/DHTML/JAVA script)


Think about things other than the web:

What happens when you, for instance, fax a quote to somebody. You get a fax
header and, sometimes, a footer.

So...what is the big problem with a web header?

--
Cheers
Richard.


 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      12-21-2004
Nico Schuyt wrote:
> SpaceGirl wrote:
>
>>Nico Schuyt wrote:
>>
>>>Smitro wrote:

>
>
>>>>I am creating on online database that prints quotes and
>>>>invoices for our staff. Is it possible to remove the Headers and
>>>>Footers when printing documents?

>
>
>>>For IE:
>>>http://developer.irt.org/script/1437.htm
>>>example:
>>>http://www.codestore.net/store.nsf/u...N?OpenDocument

>
>
>>So, what about everyone else? 1 in 10 people dont use IE.

>
>
> That means a solution for 90%. The other 10% will see a header and footer on
> the print. No real problem I think.
> But it's probably not relevant in this case. The OP mentioned ' for our
> staff.'
> (Do you have a better solution


Yes. I wouldn't bother at all. The printer is to do with the
OS/Browser/Local configuration and not under the control of a web page
what so ever. Even if it is on an Intranet. What if the user had a
super-duper colour printer set up as their default printer (say for
PhotoShop) and used a simple b&w one for regular prints. Along comes
your fancy web site that prints to the WRONG printer. No thanks.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      12-21-2004
SpaceGirl wrote:
> Nico Schuyt wrote:
>> SpaceGirl wrote:
>>> Nico Schuyt wrote:
>>>> Smitro wrote:


>>>>> I am creating on online database that prints quotes and
>>>>> invoices for our staff. Is it possible to remove the Headers and
>>>>> Footers when printing documents?


>>>> For IE:
>>>> http://developer.irt.org/script/1437.htm
>>>> example:
>>>> http://www.codestore.net/store.nsf/u...N?OpenDocument


>>> So, what about everyone else? 1 in 10 people dont use IE.


>> That means a solution for 90%. The other 10% will see a header and
>> footer on the print. No real problem I think.
>> But it's probably not relevant in this case. The OP mentioned ' for
>> our staff.'
>> (Do you have a better solution


> Yes. I wouldn't bother at all.


In real life it's a customer who bothers.

> The printer is to do with the
> OS/Browser/Local configuration and not under the control of a web page
> what so ever. Even if it is on an Intranet. What if the user had a
> super-duper colour printer set up as their default printer (say for
> PhotoShop) and used a simple b&w one for regular prints. Along comes
> your fancy web site that prints to the WRONG printer. No thanks.


My advice was concerning resetting the header and footer. Not printer
selection. Works fine for customers who print official documents like
invoices from a website. The regular header and footer would be totally
unacceptable.
(Do you have a better solution

--
Nico
http://www.nicoschuyt.nl


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
How to create an home page using xsl and jsp with header,footer and navbar written in separate files? Elena Java 0 05-03-2007 08:53 PM
How to create an home page using xsl and jsp with header,footer and navbar written in separate files? Elena Java 0 05-03-2007 08:52 PM
How to remove the header and footer from HTML/Javascript when printing with IE? fjanon Javascript 5 11-23-2006 12:23 PM
Any way to reorder how a datagrid is drawn (header/footer/items vs.header/items/footer)? Henrik ASP .Net Datagrid Control 1 07-06-2006 12:23 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57