We use the command WPViewPDF1.Command(commands.COMPDF_PrintDialog) to allow the user to select a printer, change the number of copies, and print.
My question is how do you reset the number of copies back to 1 before calling commands.COMPDF_PrintDialog to avoid printing multiple copies accidentally.
I tried this but it doesn't work
PrinterSettings settings = new PrinterSettings();
WPViewPDF1.CommandStr(commands.COMPDF_SelectPrinter, settings.PrinterName);
WPViewPDF1.CommandStr(commands.COMPDF_SelectCopies, "1");
WPViewPDF1.Command(commands.COMPDF_PrintDialog);