Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site infopro.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!whuxlm!whuxcc!infopro!david From: david@infopro.UUCP (Buckaroo Banzai) Newsgroups: net.unix-wizards Subject: Re: print filter Message-ID: <688@infopro.UUCP> Date: Fri, 4-Jan-85 00:23:21 EST Article-I.D.: infopro.688 Posted: Fri Jan 4 00:23:21 1985 Date-Received: Fri, 4-Jan-85 08:08:18 EST References: <1142@ihuxi.UUCP> Organization: The Banzai Institute Lines: 21 The original poster wanted a print program that could support printers without backspacing, for use with nroff output. Simply define the appropriate control characters in termcap (i.e. so and se strings for standout (bold) start and end, and us/ue for underscore start/end), then use ul as your filter, as in: nroff file | ul -Tprinter > /dev/print_device Not all implementations of ul support both us/ue and so/se at once, but you should be able to get at least one to work. If this still isn't clear, I will post an example on request. If you don't have ul, of course, you are out of luck or must write an equivalent. You can also write a translation filter that processes the output of col from the strings intended for a Diablo to the ones needed for your printer; I also have a program of that nature if you wish. Hope this helps. -- Dave Fiedler {harpo,astrovax,whuxcc,clyde}!infopro!dave USMail: InfoPro Systems, 3108 Route 10, Denville, NJ 07834 People Phone: (201) 989-0570