[thelist] Print from screen
jeff
jeff at members.evolt.org
Thu Nov 2 04:05:35 CST 2000
adrian,
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Adrian Fischer
:
: Is it possible to have a link on a page that will print
: that page directly. So instead of having to go to the
: file/print or the icon on the top of the browser you
: "click here" (sorry about that ,LMAO) and it prints
: the page.
:
: I'm thinking that it cant be done because its a system
: thing and the page has not connection to it. Am I
: wrong?
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yup, i'm afraid you are. nn4+ (most, but not all of the versions) & ie5+
support printing a document in this fashion:
window.print();
other browsers will hork a hairball on that though so you better do some
method detection:
if(window.print) window.print();
good luck,
.jeff
name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:jeff at members.evolt.org
More information about the thelist
mailing list