Not directly but you can create variable llPrinted in your program and set it to .T. in the report
_VFP.SetVar("llPrinted", WEXISTS("Printing..."))
llPrinted = .F.
Report Form myreport to Printer Promp Preview
IF llPrinted
...
ENDIF
This way you can also capture situation when user cancels in the middle of printing.
>When a user gets the print dialogue box from PRINT PROMPT there is an option to "Cancel".
>
>I am marking a data file to reflect that certain things are printed, but the operator may have pressed "Cancel". In this case I would not want to mark the data file.
>
>Is there a way of determining if the operator pressed "Cancel" at the Print Dialogue Box?
>
>Mike Smith
--sb--