Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!ukma!psuvm.bitnet!cunyvm!byuvax!taylorj
From: taylorj@byuvax.bitnet
Newsgroups: comp.lang.pascal
Subject: More printer status questions for TP4
Message-ID: <212taylorj@byuvax.bitnet>
Date: 24 Jun 88 07:12:56 GMT
Lines: 14


Before I begin printing from Turbo Pascal 4.0, I can find out if the printer
is ready, a com port is available, etc.  Now the question is, how can I
find out the printer status WHILE PRINTING??

For example, if the printer runs out of paper and there is no more, you're
out of luck because Turbo is frozen up and there's no way for it to know
you want to cancel printing.

I have a few vague ideas of having some sort of timer interrupt checking
current status, but I'd like to see if anyone knows of an easier way or
has any advice before I go spelunking into the depths of the BIOS jungle.

Jim Taylor
Microcomputer Support for Curriculum, Brigham Young University
taylorj@byuvax.bitnet