https://harbour.github.io/doc/clct3.html#spoolactiv
- Code: Select all Expand view
SET PRINTER TO C:\TEST\PRINT.DAT // Redirect print
SET DEVICE TO PRINT // Print Output
@....SAY....
@....SAY....
SET DEVICE TO SCREEN
SET PRINTER TO // Close output file
IF SPOOLACTIV()
SPOOLADD("C:\TEST\PRINT.DAT") // .T., if correct
ELSE
*'normal' print
ENDIF
Regards, saludos.