In order to determine if the user pressed the printer icon while previewing the report, create a procedure in your main program (call it PRINTED). And in the gray band of page header of your report (The fist of three bands), in the "on entry" textbox put PRINTED(). Declare a public variable called lPrinted and set it to .F..
PROCEDURE PRINTED IF WEXIST("Printing...") lPrinted = .T. ENDIF ENDPROC
Now the variable returns wheter the report was printed or not. Mike Gagnon