9fans archive / 2000 / 08 / 42 /    prev next

From: "D. Brownlee" <ancipites@ear...>
Subject: Re: [9fans] problems
Date: Tue, 01 Aug 2000 15:48:01 -0700

Reading from the "IBM PS/2 Hardware Technical Reference,"
"Parallel Port Controller (Type 1)," not necessarily an
up to date or applicable document, it says, concerning the Status Port:

	Bit 5	This bit represents the current state of the printer
			'paper end' signal (PE). When this bit is set to 1, the printer has
			detected the end of the paper.

in contast, another bit is described:

	Bit 3	This bit represents the current state of the printer '-error'
			signal (-ERROR). When this bit is set to 0, the printer has
			encountered an error condition.

Hope that helps,

D. Brownlee


Russ Cox wrote:
> 
> The right change is probably to sleep
> waiting for a status change interrupt
> as it does a little bit later; what I wondered
> about was the sense of Fpe and whether
> it actually had something to do with paper.
> 
> Russ