Article View: comp.sys.ibm.pc.misc
Article #2572Re: Summary Printer check - BIOS/DOS - various languages
From: Timo Salmi LASK
Date: Wed, 22 Aug 1990 12:02
Date: Wed, 22 Aug 1990 12:02
18 lines
1525 bytes
1525 bytes
In article <2102@trlluna.trl.oz> pcampb@shiva.trl.oz (Peter Campbell) writes: > >Thanks to all who sent answers re checking if printers are connected to >a machine. All answers unfortunately fell into the category of BIOS >functions, but I finally managed to get a hold of the MS-DOS >encyclopedia and managed to work out the way to do it in DOS. The list misses one of the simplest and most effective of the methods, that testing the IOResult of an empty write to printer in Turbo Pascal. If the printer default timeout is changed for the duration of the test, the test can be made very fast. The facilities for this are included in /pc/ts/tspas22.arc available by anonymous ftp from chyde.uwasa.fi. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
Technical Details
Message-ID:
<1990Aug22.120247.17070@uwasa.fi>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!bloom-beacon!eru!luth!sunic!tut!funic!uwasa.fi!tsReferences:
<2102@trlluna.trl.oz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!bloom-beacon!eru!luth!sunic!tut!funic!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.sys.ibm.pc.misc,aus.computers.ibm-pc,comp.os.msdos.programmer,comp.lang.prolog Subject: Re: Summary Printer check - BIOS/DOS - various languages Keywords: Printer, BIOS, DOS, C, Prolog (Pascal) Message-ID: <1990Aug22.120247.17070@uwasa.fi> Date: 22 Aug 90 12:02:47 GMT References: <2102@trlluna.trl.oz> Organization: University of Vaasa Lines: 18