Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "no printer installed" Error

Status
Not open for further replies.

Oracle9Guy

Programmer
Feb 20, 2004
9
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top