I have create a program and store printer info. I would like to "shell out" to windows and auto print a file directly to a set printer.

Situation is XAMPP using PHP, Apache on Win2K or WinXp PC with several machines accessing the PC over a P2P network. I was thinking of having the printer/queue name being stored within the system setup, "shelling out" to windows creating/identifying word docs and sending the to the printer queue.