Solved

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

Posted on 2000-03-31
3
277 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

690 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