Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 12:03:07 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdu60.gwdg.de>
To:        Netsmart <network1@smartweb.net>
Cc:        Freebsd-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FreeBSD-3.0-RELEASE & HP Deskjet 600c Printer
Message-ID:  <Pine.BSF.3.96.981214120054.13523A-100000@gwdu60.gwdg.de>
In-Reply-To: <000b01be270b$499b7180$b90ecacf@crap>

next in thread | previous in thread | raw e-mail | index | archive | help

> RE: While printing long lines are not being wrapped to the next line.  Hence
> the printer is not printing any characters past colum 76 OR 77 on the paper.
> 
> I am using the following in my *If-simple* ;
> 
> awk '{ printf ("%s\r\n", $0); }'
> printf "\f"

You could try tomuse `fold':

fold -w 72 | awk ...
printf ...

Regards

//
// Konrad Heuer                                  ____            ___  _______ 
// Gesellschaft für wissenschaftliche           / __/______ ___ / _ )/ __/ _ \
//    Datenverarbeitung mbH GÖttingen          / _// __/ -_) -_) _  |\ \/ // /
// Am Faßberg, D-37077 GÖttingen              /_/ /_/  \__/\__/____/___/____/ 
// Deutschland (Germany)                      ----- The Power to Serve -----
//                                                http://www.freebsd.org
// kheuer@gwdu60.gwdg.de
//


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981214120054.13523A-100000>