sys(13) - 打印机状态示例

if sys(13) = 'offline'
   wait window 'printer is offline'
endif