From owner-freebsd-questions Thu Dec 10 12:02:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08062 for freebsd-questions-outgoing; Thu, 10 Dec 1998 12:02:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kakapo.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08056 for ; Thu, 10 Dec 1998 12:02:09 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kakapo.pinnacle.co.nz (8.9.1/8.9.1) with SMTP id IAA07397; Fri, 11 Dec 1998 08:59:54 +1300 (NZDT) Date: Fri, 11 Dec 1998 08:59:53 +1300 (NZDT) From: Jonathan Chen To: Netsmart cc: Freebsd-Questions Subject: RE: FreeBSD and Printer In-Reply-To: <000001be23fb$e093d220$a10ecacf@crap> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 10 Dec 1998, Netsmart wrote: > in either case above after it prints the first line whether staircase effect > or a straight line, it will never print another character unless I turn the > printer off then back on again. However, while it wont print anything it > continues to spit out whatever amount of blank sheets of paper that the > document calls for.... just no printing. You've got 2 problems here. The staircase effect, and the final formfeed to push the paper out of the printer. What you've can do is to put in a filter for the queue like: #!/bin/sh awk '{ printf ("%s\r\n", $0); }' printf "\f" Also read up the handbook for setting up printers & filters: http://www.freebsd.org/handbook/handbook92.html Jonathan Chen -------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message