I have three related questions.
I want to create a word file with a name from C++. I want to be able to sent the printing command to this file, so that the file is
You can use automation to open MS Word (in background or foreground) and then send the needed commands.
A good starting place is the knowledge base article Office Automation Using Visual C++
Some C source code is available in How To Use Visual C++ to Access DocumentProperties with Automation (the title says C++, but it is plain C)