printing underlined text

Pete Holsberg pjh at mccc.uucp
Thu Nov 15 05:56:52 AEST 1990


In article <1990Nov12.183213.8920 at ssd.kodak.com> weimer at 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 at mccc.edu	     Trenton Computer Festival -- 4/20-21/91



More information about the Comp.lang.c mailing list