Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uunet!mcsun!hp4nl!ctisbv!pim From: pim@cti-software.nl (Pim Zandbergen) Newsgroups: comp.unix.i386 Subject: Re: Configuring a Toshiba-p351 printer under ISC-386/ix? Keywords: Toshiba p351 utod lef Message-ID: <1644@ctisbv.cti-software.nl> Date: 28 Nov 89 23:40:11 GMT References: <13510@boulder.Colorado.EDU> <[430.1]comp.unix.i386;1@point.UUCP> <105@gizzmo.UUCP> <14254@boulder.Colorado.EDU> Organization: CTI Software BV, The Hague, the Netherlands Lines: 27 mre@boulder.colorado.edu (Marcus O. Ertle) writes: >Many thanks to all who have given advise on this. I have tried nearly >all suggestions. All I could understand anyway - how does: > stty opost onlcr 0<&1 >work? This tells the tty driver to do the translation for you. Normally, stty(1) acts on standard input. But when printing, standard input is not connected to the printer, so with '0<&1', stty will act on standard output. >In desperation, I wrote my own version of a UNIX-to-DOS filter which >handled NL correctly (\r\n) and replaced tab (\t) with column-number >modulo 8. This could also have been done with: stty opost onlcr tab3 0<&1 cat $file But, strangely, this does not work with the ISC 386/ix parallel port driver. At least not in 2.0.1. Solved in 2.0.2/2.2 ? -- Pim Zandbergen domain : pim@cti-software.nl CTI Software BV uucp : uunet!mcsun!hp4nl!ctisbv!pim Laan Copes van Cattenburch 70 phone : +31 70 542302 2585 GD The Hague, The Netherlands fax : +31 70 512837