Configuring a Toshiba-p351 printer under ISC-386/ix?
Pim Zandbergen
pim at cti-software.nl
Wed Nov 29 10:40:11 AEST 1989
mre at 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 at 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
More information about the Comp.unix.i386
mailing list