Go to your print properties and select the ports tab, add a new Local port
and enter the file name as the port name. Every time you print it will write
directly to that file.
If you want a more flexible solution for naming files we have a product at www.frogmorecs.com which lets you make up the name dynamically.