Path: utzoo!utgpu!attcan!uunet!husc6!mailrus!ames!pasteur!ucbvax!ucsfcgl!cgl.ucsf.edu!kneller From: kneller@cgl.ucsf.edu (Don Kneller) Newsgroups: comp.sys.ibm.pc Subject: Re: Microsoft C Bug or Feature ????? Message-ID: <11074@cgl.ucsf.EDU> Date: 4 Aug 88 21:59:13 GMT References: <8808021504.AA05128@wilson.csri.toronto.edu> Sender: daemon@cgl.ucsf.edu Reply-To: kneller@socrates.ucsf.edu.UUCP (Don Kneller) Organization: UCSF Computer Graphics Lab Lines: 18 In article <8808021504.AA05128@wilson.csri.toronto.edu> byu@csri.toronto.edu (Benjamin Yu) writes: >In either case, can anyone advise me how I can send hex 1A to stdprn?? > You will have to place stdprn into binary mode first. In principle, this code fragment should do it but I haven't attempted it: #include #include stdprn_binary() { setmode(stdprn, O_BINARY); } ----- Don Kneller UUCP: ...ucbvax!ucsfcgl!kneller INTERNET: kneller@cgl.ucsf.edu BITNET: kneller@ucsfcgl.BITNET