From owner-freebsd-questions Mon Dec 14 03:04:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA10250 for freebsd-questions-outgoing; Mon, 14 Dec 1998 03:04:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA10243 for ; Mon, 14 Dec 1998 03:04:30 -0800 (PST) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.0/8.9.0) with SMTP id MAA13693; Mon, 14 Dec 1998 12:03:07 +0100 (CET) Date: Mon, 14 Dec 1998 12:03:07 +0100 (CET) From: Konrad Heuer To: Netsmart cc: Freebsd-Questions Subject: Re: FreeBSD-3.0-RELEASE & HP Deskjet 600c Printer In-Reply-To: <000b01be270b$499b7180$b90ecacf@crap> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id DAA10246 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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