Hi all,
i have a link that opens .doc files, .docx files, csv files or .xls or .xlsx files. i want silent printing of these files. Only one file opens at a time.
If silent printing is not possible then atleast print dialog box should open up along with the file. i am trying to implement this using javascript.
<script>
var w=new ActiveXObject('Word.Application');
var obj;
if (w != null)
{
w.Visible = true;
obj=w.Documents.Open("d:\\2.5\\test.docx");
var docum = obj.value;
w.Documents.Save();
w.Quit();
}
</script>
this script opens the document. but i am not able to open print dialog box on it.
thanks,