I am trying to print directly to a file.

When bringing up the common dialog I get an option to print to a file which when selected gives me a input box for printing.

How can this be achieved programmatically though VB ?

Thanks.

------------------