🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2486

<None>

#2486
From: Paul Tam
Date: Mon, 01 Oct 1990 14:28
25 lines
1242 bytes
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 
Technical Details
Message-ID: <1990Oct1.142840.10474@slhisc.uucp>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <None>
Message-ID: <1990Oct1.142840.10474@slhisc.uucp>
Date: 1 Oct 90 14:28:40 GMT
Organization: Shearson Lehman Brothers, Inc. (ISC)
Lines: 25