Link/icon to open print dialog box?

Reply

Join Date: Apr 2007
Posts: 9
Reputation: doel.jangkrik is an unknown quantity at this point 
Solved Threads: 0
doel.jangkrik doel.jangkrik is offline Offline
Newbie Poster

Link/icon to open print dialog box?

 
0
  #1
Nov 7th, 2007
Hi,

I don't know if I am in the right board or not cause I don't know if my question deals with html, css, or javascript.

When I surf, sometimes I see a small "printer" icon with word "print" beside it, usually it is placed at the bottom of the page. If I clicked it, a "Print" dialog box will open.

Anybody knows how to make that?

Thanks, Welli
Last edited by doel.jangkrik; Nov 7th, 2007 at 4:53 am.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Link/icon to open print dialog box?

 
0
  #2
Nov 7th, 2007
It can be done with Javascript, using the function "window.print( );"
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC