send file to printer

send file to printer

hi,
I have to print a file. This file is automatically generated with a VBA procedure. The print job should be triggered with VBA too.
How do I define the printer and send the content to the printer queue?
Regards,
alex

This is a migrated post! Originally posted on 17.07.2009 by user gralex. Please be aware that information can be outdated.