Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!princeton!amun-re.central.njsmu.com!mccc!pjh From: pjh@mccc.uucp (Pete Holsberg) Newsgroups: comp.lang.c Subject: Re: printing underlined text Message-ID: <1990Nov14.185652.7460@mccc.uucp> Date: 14 Nov 90 18:56:52 GMT References: <8611@fmeed1.UUCP> <1990Nov11.153636.13643@mp.cs.niu.edu> <1990Nov12.183213.8920@ssd.kodak.com> Reply-To: pjh@mccc.edu (Pete Holsberg) Organization: The College On The Other Side Of Route One Lines: 19 In article <1990Nov12.183213.8920@ssd.kodak.com> weimer@ssd.kodak.com (Gary Weimer) writes: =Another improvement: = =printf( "_^HU_^Hn_^Hd_^He_^Hr_^Hl_^Hi_^Hn_^He_^Hd _^Ht_^He_^Hx_^Ht\n" ); = =Although this is much less readable, most "smart" terminals, as well as =printers will know how to handle this (see nroff output). Only "smart" printers can handle "real-time" backspacing. Our dot matrix printers won't so we like the "print the underline, return the carriage, print the text" approach. I don't think that lasers are smart enough, either. Pete -- Prof. Peter J. Holsberg Mercer County Community College Voice: 609-586-4800 Engineering Technology, Computers and Math UUCP:...!princeton!mccc!pjh 1200 Old Trenton Road, Trenton, NJ 08690 Internet: pjh@mccc.edu Trenton Computer Festival -- 4/20-21/91