I have a VB app which produces a rather complicated printed page, with a mixture of graphics and text. I would like to "print to a file" instead of directly to the printer.
Prior to all references to the printer object, I have:
CommonDialog1.PrinterDefault = True
And the dialog comes up with the "print to file" check box visible. I check the box, the program continues, but still prints to the printer.
I would expect to be asked for a file name.
What is the correct way to do this? I appreciate your help. -- Norm