.PrintOut with Background:=True on HP 5Si garbles intermittently Times Roman chracters
Posted on 2006-06-27
I have a VB.NET application that calls Word to Open, Print, and Close files. I use the following code to print out the files:
objWord.ActiveDocument.PrintOut(Background:=True, Range:=Word.WdPrintOutRange.wdPrintAllDocument, Item:=Word.WdPrintOutItem.wdPrintDocumentContent, Collate:=True, PageType:=Word.WdPrintOutPages.wdPrintAllPages, Copies:=CShort(txtNumCopies.Text))
The porblem is that when "Background:=True" some of the print outs get their Times Roman sections garbled (characters all printed at start of a line or are just missing).
Using "Background:=False" solves the problem, but this greatly increases the time to print a document which is unacceptable.
Note that I have also tried the following that does not help (in between Prinout call and Close call):
Do While objWord.Application.BackgroundPrintingStatus > 0
And I have tried settign the printer options to "Dowload Fonts", "Raster", and all optimizations turned "off".
So anyone have any suggestions?