By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,923 Members | 2,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,923 IT Pros & Developers. It's quick & easy.

Thru window.open open a word document in Print Preview mode

P: n/a
Through window.open or window.showmodaldialog, I want to open a word
or excel document in Print Preview mode. Bcos I don't want the user to
make any changes or save it but the user can ONLY VIEW OR take a print
out. Can anyone help me out ?

Thanks in advance for any help / guideline
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Eager-Learner wrote:
Through window.open or window.showmodaldialog, I want to open a word
or excel document in Print Preview mode. Bcos I don't want the user to
make any changes or save it but the user can ONLY VIEW OR take a print
out. Can anyone help me out ?

Thanks in advance for any help / guideline


As for print preview, if it can be done at all it will be IE only and
no one would like to read a document that way. If you want to protect
your document from tampering:

1. Save the document as read-only and password protect it (though this
can be easily circumvented because Word's read only doesn't protect
the document very well at all)

2. Save your document as a read-only PDF - it can't be copy/pasted and
is much harder (nearly impossible) to open and edit than Word
documents.

But neither of the above will guarantee that your document won't be
tampered with using other means, then turned into a Word document that
is almost indistinguishable from the original. The best way is to
expect that someone *will* do it and incorporate checks to detect it.

--
Rob
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.