Flush output file after printer goes idle.

This enables tail -f, your favorite editor, or other tools to access completed print jobs without requiring the output file to be detached.