Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!elsie!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: kernal question Message-ID: <3503@umcp-cs.UUCP> Date: Sat, 20-Sep-86 09:24:15 EDT Article-I.D.: umcp-cs.3503 Posted: Sat Sep 20 09:24:15 1986 Date-Received: Sat, 20-Sep-86 21:00:57 EDT References: <1027@batcomputer.TN.CORNELL.EDU> Reply-To: chris@umcp-cs.UUCP (Chris Torek) Organization: University of Maryland, Dept. of Computer Sci. Lines: 27 In article <1027@batcomputer.TN.CORNELL.EDU> hurf@batcomputer.TN.CORNELL.EDU (Hurf Sheldon) writes: >system: uvaxII, ultrix1.2, >We are having difficulty getting 8bit output through a dhv11 to >a HP laserjet. I have found a note ... concerning a fix to dh.c .... A DH is not a DHV; the drivers are no doubt completely different. To get eight bit output, set LITOUT mode: int set = LLITOUT; /* what is the `official' type for the third arg to ioctl? */ /* I think it has changed several times now... */ if (ioctl(fd, TIOCLBIS, &set)) /* gripe */ The driver bugs, which certainly *should* be fixed in Ultrix 1.2, may be surmounted by re-asserting the baud rate: struct sgttyb sg; if (ioctl(fd, TIOCGETP, &sg) || ioctl(fd, TIOCSETP, &sg)) /* gripe */ -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu