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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Reports to Network printer in VB6

Status
Not open for further replies.

Teamgc

Programmer
Feb 15, 2006
37
IE
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top