You might try:
_PAGENO = 0
REPORT FORM myrpt TO PRINTER PROMPT NOCONSOLE
IF _PAGENO = 0
* User pressed cancel
ELSE
* Report printed
ENDIF
HTH,
--Paul
>How can I know user press "Cancel" button on the printer dialog box when I issue
Report Form myrpt To Printer Prompt Noconsole
>
>Any idea??? TIA.