Knowledgebase: Developer
Problem with Word PrintOut method
Posted by admin admin on 21 November 2006 03:03 PM
Problem:
I'm using the registry to specify a filename and I launch Microsoft Word with the OLE ActiveDocument.PrintOut() method. The files it creates are invalid. Sometimes they are 0 bytes, sometimes they are small files with a header and footer but missing body information.

Solution:
If you set the BackgroundPrinting property to FALSE in the PrintOut method, the files should be created correctly.
(0 vote(s))
Helpful
Not helpful

Comments (0)

Copyright 2000-2018 © Dane Prairie Systems LLC. All Rights Reserved. About Us | Privacy Policy | PDF Blog | Site Map