LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing a Word document opened with the MS Word Object Library to a network printer

I have followed an example to use the Microsoft Word 9.0 Object Library to create a Word document.  Now I am trying to print it using Word_DocumentPrintOut() or Word_DocumentPrintOutOld()

 

I get no errors, but I get no output either.  I checked my networked printer and my print queue

but don't see a print job created.  Can someone explain more about how the DocumentPrintOut

function really works?

0 Kudos
Message 1 of 2
(894 Views)

FWIW, I did get Word_DocumentPrintOut() to print to my default printer.

Word_DocumentPrintOutOld() did not work.

0 Kudos
Message 2 of 2
(829 Views)