>Hello Everyone,
>
>Is there a way to set the printer for a report programmatically? I have an application that needs to send the sales receipt to the receipt printer, the price tags to a thermal printer and the regular reports to a regular printer.
>
>Many thanks in advance,
>Bianca
Look at the series of articles that the late Ed Rauh and I did on the Windows Script Host a few years back. They're available on-line at
www.vfug.org. What would be of interest is the fourth article on the WScript.Network object. It has a SetDefaultPrinter() method that'll allow you to do this.
George
Ubi caritas et amor, deus ibi est