For the RTF files output from my banking application, I need to 1) automate
background printing and 2) provide user print previewing. WordViewer is the
only RTF viewer (except for Word itself) that supports the full RTF command
set that my application needs, including page breaks, embedded pictures,
tables, etc. WordViewer is perfect for 2), since it does not allow the user
to edit the RTF file. However, I have not found a way to achieve 1) with
WordViewer. Is there a command line switch to make WordViewer print a
document without showing it? Or can WordViewer be automated through OLE?
Alternatively, I have been trying to achieve the same things by OLE
automating Word. I can achieve 1) with Word, but am having difficulties
finding a way to achieve 2). The password protection for modifying a
document is only stored in .doc files, it is not preserved in RTF files.
And I haven't found documentation on how to use OLE to restrict Word to
viewing a document.
Thanks for any ideas, alternatives.