1. printer test
- Posted by Michael J Doscher <mdoscher at JUNO.COM> Aug 20, 1997
- 739 views
How do you determine if the printer is on line or not ?
2. Re: printer test
- Posted by Irv <mountains at MINDSPRING.COM> Aug 20, 1997
- 733 views
Michael J Doscher wrote: > > How do you determine if the printer is on line or not ? You can call interrupt 17 (hex) to check printer ready. I can't code this in Euphoria, as my pc is dead at the moment, but here are the details: load AH with $01 -- code to reset printer load DL with $00 -- 0 = LPT1 call interrupt $17 -- printer interrupt load AH with $02 -- code for get printer status load DL with $00 -- LPT1 again call interrupt $17 status returned in AH No guarantees, but this has worked with most pc's I have tried over the past 5-6 years. Irv
3. Re: printer test
- Posted by "Wallace B. Riley" <wryly at MINDSPRING.COM> Aug 20, 1997
- 731 views
At 07:54 AM 8/20/97 EDT, you wrote: >---------------------- Information from the mail header ----------------------- >Sender: Euphoria Programming for MS-DOS <EUPHORIA at >MIAMIU.ACS.MUOHIO.EDU> >Poster: Michael J Doscher <mdoscher at JUNO.COM> >Subject: printer test >------------------------------------------------------------------------------- > > How do you determine if the printer is on line or not ? > Where is your printer? Mine is next to my computer. When I turn on the computer, the printer makes initializing noises. If the computer is already on, a glance at the printer shows status lights on or off. Your computer must be in the next room or in another building or something. Wally Riley wryly at mindspring.com