Path: utzoo!attcan!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!marob!slhisc!paul From: paul@slhisc.uucp (Paul Tam) Newsgroups: comp.os.msdos.programmer Subject: Message-ID: <1990Oct1.142840.10474@slhisc.uucp> Date: 1 Oct 90 14:28:40 GMT Organization: Shearson Lehman Brothers, Inc. (ISC) Lines: 25 Subject: Summary: Expires: Sender: Paul Tam Followup-To: Distribution: Distribution: Organization: Shearson Lehman Brother, Inc. Keywords: I have a question of how to check the status of a parallel printer. In my application, I used ROM-BIOS printer service which is int 23 (hex 17) and the service number is 2 which is to get printer status. I make use of the 6 bit (Acknowledgment from printer bit) to determine if the printer is on-line or off-line. However this method doesn't seem to be working because this Acknowlegment bit is always off even when the printer is on line. Am I using the correct way to check printer status ? Did I misunderstand the meaning of this Acknowledgment ? Is there any better way to check the printer status. My compiler is MS C 5.1. and hope someone out there can help me with this