Is there any way to capture the selections made in the print dialog called when a user clicks the printer icon when using
I have previously used GetPrinter(), but that always returns an empty string so you do not know the user selected cancel. The problem I have is that I'm printing invoices that require a lot of processing and each invoice is a separate report. Also, there is another report that needs to be printed immediately after each invoice. Using GetPrinter() I only had to invoke it once and the set printer to ... I like the print dialog that is displayed using "To Printer Prompt", but now the user has to respond to the print dialog for each invoice and the following report. I would like to capture the printer name from this dialog the first time the user sees it, but not sure how to get it. Alternately, is there another command or Sys() function that calls that same dialog?
Auguy
Northwest Ohio
Code:
Report Form ReportName To Printer Prompt
Auguy
Northwest Ohio