Thursday, January 27, 2005

Server initiated printing to client's default printer from a web application

function printWithDialog()
{
var oAcro = document.applets("acro");
if (oAcro != null) {
oAcro.PrintWithDialog() //Print with Dialog
}
}

function printWithoutDialog() {
var oAcro = document.applets("acro");
if (oAcro != null) {
oAcro.PrintAll(); //Print upon page loading
}
}
function printWithIframe() {
var oAcro = document.acro;
if (oAcro != null) {
oAcro.print() //Print with Dialog
}
}
function printUsingAdobe(delayTime) {
setTimeout("printWithDialog()",delayTime);
}




" type="application/pdf">



Finding my email address in MS Exchange

I use MS Exchange, when I need to give an outsider my email address, I don't know what to give since the directory conveniently hides this from me.

To get my address:
Compose mail -> click on "To..." -> find your name in the dir --> right click on your name
Click on Properties -> go to the tab labelled "Email Adress"

your email is on the first line --