What you are looking for is called the "headless start" of the program you want to print. I know for sure that OpenOffice can do this. Basically, you need to run it and invoke a macro that will print. Moreover, you can print in PDF, HTML or something else that supports Oo.
This negates the need to install Microsoft Word and the cost of the license, since OpenOffice is free.
Vanco source share