I have a default printer in Windows. In my application, when the print dialog box displays I select a different printer but the datawindow still prints to the Windows default printer. I have to close my application, change the Windows default printer, then re-open my application.
I've seen some suggestions on writing my own dialog windows and use a combination of PrintGetPrinter, PrintSetPrinter, GetDefaultPrinter, etc. This gets pretty complicated, and doesn't it defeat the purpose of the print dialog box?
Can someone share a script/method/window with me that will popup the print dialog box and then print to the selected printer?
Thank you,
Tracy