Hi
I have a folder of reports and I have to print them to a different network printer based on the filename.
I have tried changing the printer name to change the printer name as follows
crRep.PrinterName = "\\kbs1\HPLaser\"
crRep.PrintReport
but it still prints to the default printer on my machine.
does anyone know how to change this?
thanks for any help
I have a folder of reports and I have to print them to a different network printer based on the filename.
I have tried changing the printer name to change the printer name as follows
crRep.PrinterName = "\\kbs1\HPLaser\"
crRep.PrintReport
but it still prints to the default printer on my machine.
does anyone know how to change this?
thanks for any help