SYS(102) - Printer Setting Example

IF SYS(102) != 'OFF'
   SET PRINTER OFF
ENDIF

Send feedback to MSDN.Look here for MSDN Online resources.