I put the SET DEVICE TO PRINTER PROMPT command in a program in order to choose the printer, number of copies, etc I want when printing a report. It works well if I choose these options but if I click on the CANCEL button, the printing occurs instead of cancelling the printing. I would like the CANCEL button in the Printer Setup Dialog Box to be effective.
The GETPRINTER() function works fine but it doesn't give the options of which pages I want to print, number of copies, etc. GETPRINTER() shows only a small windows which allows to change just the printer name !
I tried to use PRINTSTATUS(), SYS(13), PRTINFO() functions after the SET DEVICE TO PRINTER PROMPT command in the program, but I failed to get a result.
Michel
The GETPRINTER() function works fine but it doesn't give the options of which pages I want to print, number of copies, etc. GETPRINTER() shows only a small windows which allows to change just the printer name !
I tried to use PRINTSTATUS(), SYS(13), PRTINFO() functions after the SET DEVICE TO PRINTER PROMPT command in the program, but I failed to get a result.
Michel