471,072 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

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

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
1 7790
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.

Similar topics

6 posts views Thread by news.versatel.de | last post: by
14 posts views Thread by D. Alvarado | last post: by
2 posts views Thread by Sachin | last post: by
1 post views Thread by Angelos | last post: by
6 posts views Thread by vunet.us | last post: by
12 posts views Thread by =?Utf-8?B?QWxpIFNoYWh6YWQ=?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.