home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1993-01-08 | 263 b | 9 lines |
- CHKPRINTER
- Procedure CHKPRINTER
- H=Peek($BFD000)
- H$=Hex$(H)
- If H$="$FF" or(H$="$FB") Then Print "Paper is out"
- If H$="$FC" Then Print "Printer is on line"
- If H$="$FD" or(H$="$F9") Then Print "Printer is off line"
- If H$="$FE" Then Print "Printer is not on"
- End Proc