>>I need to be able to print to a specific printer.
>>
>>Using "word.application" I can do it, but i need to use "word.basic"
>>
>>can anyone help.
>>
>>
>>using oword.createobject("word.application") i can set the active printer
>>
>>using oword.createobject("word.basic") i cannot
>
>You can reset Windows default printer:
>
>Declare Integer SetDefaultPrinter In WINSPOOL.drv String
>If SetDefaultPrinter(cPrintername)<=0
>... error
>endif
>
>That worked, but how do I determine the default printer so I can set it back
?set('printer',2)
If it's not broken, fix it until it is.
My Blog