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
Solved

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

Posted on 2000-03-31
3
272 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Place text over image using CSS 6 48
Hide cell in a table 2 26
How to resize a div in html 3 35
Javascript Urgent help (Need help to disable event handler) 8 41
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
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?
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

792 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