failat 20   ; CheckPrt returns 10 if printer is not selected or off and
            ; 5 if it is busy
CheckPrt
IF ERROR
    echo " Sorry, but your printer seems to be off or not selected"
    echo " "
    SKIP END
ENDIF

CheckPrt

IF WARN
    echo " Wait a little moment, your printer is busy "
ELSE
    echo " OK, your printer seems to be available"
ENDIF

LAB END
FAILAT 10
