home *** CD-ROM | disk | FTP | other *** search
- (* --------------------------------------------------- *)
- (* PTRSTAT.PAS *)
- (* Funktion zur Ermittlung des Druckerstatus *)
- FUNCTION PtrStat (PtrNum: INTEGER): BYTE;
- VAR regs: RECORD
- AX,BX,CX,DX,BP,SI,DI,DS,ES,FLAGS: INTEGER;
- END;
- BEGIN
- WITH regs DO BEGIN
- AX := $0200; DX := PtrNum; Intr($17,regs);
- PtrStat := AX Shr 8;
- END;
- END;
- (* --------------------------------------------------- *)
- (* PTRSTAT.PAS *)