Oracle9Guy
Programmer
I'm using Oracle's COM Automation feature to manipulate MS-Word documents from PL/SQL procedures. I can create a Word.Basic object, open a new document, write to it and save it without a problem. However, when I use the "FilePrint" method to print the doc on my default printer, I get the error message "Word cannot print. There is no printer installed."
I do have a printer installed on my desktop and can print docs without a problem when running Word interactively.
Is there something else I must do so that printers are recognized when using COM automation? I tried setting the ActivePrinter property, but this did nothing.
I do have a printer installed on my desktop and can print docs without a problem when running Word interactively.
Is there something else I must do so that printers are recognized when using COM automation? I tried setting the ActivePrinter property, but this did nothing.