home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / atari / st / tech / 5536 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.3 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mcsun!sun4nl!ruuinf!plato.phil.ruu.nl!hjv
  2. From: hjv@phil.ruu.nl (Hendrik Jan Veenstra)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Checking if the printer is ready for input...?
  5. Message-ID: <hjv.721232672@groucho.phil.ruu.nl>
  6. Date: 8 Nov 92 14:24:32 GMT
  7. References: <1uewTB2w165w@sys6626.bison.mb.ca>
  8. Sender: news@phil.ruu.nl
  9. Organization: Department of Philosophy, University of Utrecht, The Netherlands
  10. Lines: 15
  11. Nntp-Posting-Host: groucho.phil.ruu.nl
  12.  
  13. marco@sys6626.bison.mb.ca (John Perry) writes:
  14.  
  15. >How can I check to see if the printer is ready for input? I tried using 
  16. >Bcostat(), but it returns -1 (which is supposed to mean I can send the 
  17. >printer data) even when the printer was turned off!
  18.  
  19. This is weird as it should work. I always use Bcostat() for this and never had
  20. any problems. You may try to use Cprnos() instead (Gemdos 17) - returns -1
  21. if the printer is ready to receive data, 0 otherwise.
  22.  
  23. --
  24. Hendrik Jan Veenstra    hjv@phil.ruu.nl  *  How can I save my dreams
  25. Dept. of Philosophy                      *  in the nightmare, in the flood
  26. University of Utrecht                    *  But I try.
  27. The Netherlands                          *
  28.