...

View Full Version : printing



narf
12-21-2003, 05:46 PM
yes i'm back again
is it possible to acually use the printer to print a var say it was

var goo = prompt("whats your name","")
var fin_goo = " hello "+goo

could i print fin_goo.
or can you open another application using jscript say micro word



thanks thrise again
narf:thumbsup:

nolachrymose
12-21-2003, 06:04 PM
You could open a new window and print:


var goo = prompt("whats your name","");
var fin_goo = " hello "+goo;
var x = window.open();
x.document.writeln(fin_goo);
x.window.print();
x.window.close();

Hope that helps!

Happy coding! :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum