Article ID: 153675 - Last Review: October 15, 2003 - Revision: 3.2 How To Use Code to Print a Word Document in a General FieldThis article was previously published under Q153675 On This PageSUMMARY
If a general field contains an embedded or linked Word document, you can
print the Word document by using code and OLE automation.
MORE INFORMATION
For more information about the behavior of embedded Word documents, please
see the following articles in the Microsoft Knowledge Base:
105714
(http://support.microsoft.com/kb/105714/EN-US/
)
Document Object Margins Default to Zero Inches
IMPORTANT: If you are using the APPEND GENERAL command, or Insert Object
from the Edit menu in the general field to create a new Word document, the
document may not print correctly if you do not follow the guidelines
published in Microsoft Knowledge Base article Q105714 (see above).
NOTE: This code sample only works with Word 95. It does not work with
Word 97.
Code SampleThe following code demonstrates how to print the document. | Article Translations
|
Back to the top
