Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!hplabs!hp-pcd!hpcvc0!hpcvck!scott From: scott@hpcvck.HP (Scott Linn) Newsgroups: comp.sys.ibm.pc Subject: Re: ioctl on msdos device drivers Message-ID: <4490003@hpcvck.HP> Date: Mon, 20-Apr-87 12:23:24 EST Article-I.D.: hpcvck.4490003 Posted: Mon Apr 20 12:23:24 1987 Date-Received: Wed, 22-Apr-87 05:35:46 EST References: <959@rocksvax.UUCP> Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 17 Thanks for all the help regarding devices and raw mode. The two code fragments worked fine on my Datalight C compiler. My original problem was with the Mix C compiler, but it seems that the raw/cooked problem lies with the *compiler* rather than the printer mode. If anyone has any experience with raw/cooked mode and the Mix C compiler, let me know. Mix C writes to disk files okay in raw or cooked mode, but it seems to treat the printer as always being in cooked mode, even after using a dos call to set raw mode (as in the posted examples). I have simply resorted to using the Datalight compiler for this particular application. Thanks again! Scott Linn hplabs!hp-pcd!hpcvck!scott