SYS(13) - Printer Status Example

IF SYS(13) = 'OFFLINE'
   WAIT WINDOW 'Printer is offline'
ENDIF