supress Printing "print" link

supress Printing "print" link

am 03.08.2007 15:26:55 von Go1369

Hello folks,

I havea link with a href of javascript:window.print()

it works fine except that it prints the 'Print' link itself......

anybody know how I can supress printing the link?

Thanks,

Bob

Re: supress Printing "print" link

am 03.08.2007 16:13:50 von rf

"Bob" wrote in message
news:1186147615.483319.51030@l70g2000hse.googlegroups.com...
> Hello folks,
>
> I havea link with a href of javascript:window.print()
>
> it works fine except that it prints the 'Print' link itself......
>
> anybody know how I can supress printing the link?

Configure your browser to not print the 'Print' link.

F1 will help.

--
Richard.

Re: supress Printing "print" link

am 03.08.2007 17:40:08 von dorward

On Aug 3, 2:26 pm, Bob wrote:

> I havea link with a href of javascript:window.print()
> it works fine except that it prints the 'Print' link itself......

And except that it doesn't work when JavaScript isn't available and is
a dead link instead.

And except that it produces a new and unexpected UI control for
something that the typical browser already presents the user with
several ways of doing (File > Print, Ctrl+P, a print button in a
toolbar, etc).

It is pointless. It doesn't allow users to do anything they couldn't
do before, breaks in some cases, and wastes screen space and
bandwidth.

> anybody know how I can supress printing the link?

Best way - get rid of it. Otherwise set up a print media stylesheet.

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Re: supress Printing "print" link

am 04.08.2007 12:21:51 von Andrew Bailey

"David Dorward" wrote in message
news:1186155608.059646.143120@q75g2000hsh.googlegroups.com.. .
> On Aug 3, 2:26 pm, Bob wrote:
>
>> I havea link with a href of javascript:window.print()
>> it works fine except that it prints the 'Print' link itself......
>
> And except that it doesn't work when JavaScript isn't available and is
> a dead link instead.
>
> And except that it produces a new and unexpected UI control for
> something that the typical browser already presents the user with
> several ways of doing (File > Print, Ctrl+P, a print button in a
> toolbar, etc).
>
> It is pointless. It doesn't allow users to do anything they couldn't
> do before, breaks in some cases, and wastes screen space and
> bandwidth.
>
>> anybody know how I can supress printing the link?
>
> Best way - get rid of it. Otherwise set up a print media stylesheet.
>
> --
> David Dorward
> http://dorward.me.uk/
> http://blog.dorward.me.uk/
>

Hi David,

The HTML Police will probably moan but this is how I do it...



Test Page






hidefocus> border="0">






Hope this helps

Andy