Forums

This topic is locked

Print button

Posted 29 May 2003 12:47:12
1
has voted
29 May 2003 12:47:12 Stephen Miller posted:
How do I create a button that prints a page?

Replies

Replied 29 May 2003 14:28:05
29 May 2003 14:28:05 David Behan replied:
Try this:

<a href="#" onClick="javascript:window.print()">CLICK HERE TO PRINT</a>

Just replace the CLICK HERE TO PRINT bit with an image.

Cheeurs...

Dave

_________________________
WinXP : IIS 5.1 : StudioMX : ASP : VBScript
www.dynamic.ie
Replied 03 Jun 2003 11:27:41
03 Jun 2003 11:27:41 Stephen Miller replied:
Thanks.

Now I need to know if there's a way i can print just an image, not the whole page.

Cheers

Reply to this topic