Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Triple line in an alert message 4 24
CSS - Centering an image 2 26
How to add custom html-5 element to a dynamically generated link? 4 24
w3c parsing errors 4 20
Find out what you should include to make the best professional email signature for your organization.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

733 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