Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] print


  • From: javascript@xxxxxxxxxx (Steve Vernon)
  • Subject: [Javascript] print
  • Date: Sun, 24 Nov 2002 21:04:58 -0000

Well Ive just spent ages searching for it and it is possivle, even though I
dont like it. DOnt think web pages should be messing around with headers and
footers really.

Probably better to use PDF, but id look at this link in the email I found on
the  net.

Thankjs,m

Steve

Date:    Mon, 15 Jan 2001 07:37:50 -0800
From:    "Jonathan A. Mcpherson" <[PRIVACY PROTECTION]>
Subject: Re: Customising Print option in an Internet Explorer

Geetha,

Customize it on your computer, or for everyone who prints your page?

Customizing it on your computer is fairly simple. Go to File, Page Setup and
edit the header and footer. Here's a list of the codes --

&p = Page number
&P = Total number of pages
&d = Date
&t = Time (a.m. and p.m.)
&T = Time (24-hour format)
&w = Window title
&u = URL (page address)

If you want to remove the header and footer for everyone who looks at your
page, it will be a little bit tougher. You will need an ActiveX component
called ScriptX to do that for you. Here's the link (no, I'm not associated
with Mead & Company):

http://www.meadroid.com/scriptx/

Hope this helps.



> Hi!
>
> I knew about this, but I tought you could somehow change the
footer&header.
>
> Bye,
>
> Iztok
> ----- Original Message -----
> From: "Steve Vernon" <steve@xxxxxxxxxxxxxxxxxxxx>
> To: <javascript@xxxxxxxxxx>
> Sent: Sunday, November 24, 2002 1:19 PM
> Subject: Re: [Javascript] print
>
>
> > Hiya,
> >     From my experience thats dependent on the browser not JavaScript.
> >
> >     In Internet Explorer choose file menu and then "Page Setup". Then
> fiddle
> > with the header and footer.
> >
> >     I could be wrong though!
> >
> >     Thanks,
> >
> >     Steve
> >     XX
> >
> > > Hi!
> > >
> > > How to remove the URL and number of pages from beeing printed???
> > >
> > >
> > > Bye,
> > >
> > > Iztok
> > > _______________________________________________
> > > Javascript mailing list
> > > Javascript@xxxxxxxxxx
> > > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript@xxxxxxxxxx
> > https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript