-
Using VB6
Can the print dialog return a value for the printer selected?
Unless the PrinterDefault is set to true it seems to
ignore the selected printer and the printer object
just sends output to the default printer.
I don't want to have to make the selected printer the
system default.
I know I could set up a combo box with a list of printers
in it but I would prefer to use the print dialog if
possible.
Thanks in advance,
SeanR
-
Here is what MSDN says on the subject:
When PrinterDefault is True, you can write code to print directly to the Visual Basic Printer object. Otherwise, you must use the graphic device interface (GDI) calls to print to the printer specified by the control's hDC property.