Files to look at:
Word Processing Document API - Invoke the Print Preview Dialog and Print a Document
This example illustrates how to use the PrintableComponentLink to invoke a Print Preview dialog for a RichEditDocumentServer. A document server instance is created via code and a simple multiplication table is inserted programmatically in a document.