Solved

How to do a "print" icon on the web page

Posted on 2000-03-31
3
260 Views
Last Modified: 2010-04-09
I'm doing a web for a client and he wants a "print" icon on the actual page where someone could print the page by clicking on the icon.  Although I've seen something similar in terms of a "save" icon, I've never seen a "print" icon.  Can this be done?  Can you assit me or direct me to a page where this has been done?  Thanks.
0
Comment
Question by:pja15
  • 2
3 Comments
 
LVL 1

Expert Comment

by:bassque
ID: 2674337
<html>
<head>
<title></title>
</head>
<body>
<form>
<INPUT type='button' value='Print' onClick='self.print();'>
</form>
<!--or<A href='#' onClick='self.print();return(false);'>Print</a>-->
</body>
</html>

simple as that
enjoy
0
 
LVL 1

Accepted Solution

by:
bassque earned 100 total points
ID: 2674341
<html>
<head>
<title></title>
</head>
<body>
<form>
<INPUT type='button' value='Print' onClick='self.print();'>
</form>
<!--or<A href='#' onClick='self.print();return(false);'>Print</a>-->
</body>
</html>

whoops...I meant that as an answer not a comment
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2680247
Or:

<FORM>
 <INPUT type='image' src='myprintimage.gif' onClick='self.print();'>
</form>
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now