From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 16:39:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A731637B401 for ; Mon, 7 Apr 2003 16:39:27 -0700 (PDT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1FCD43FB1 for ; Mon, 7 Apr 2003 16:39:26 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.9/8.12.9) with ESMTP id h37NdMpg006372; Mon, 7 Apr 2003 17:39:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.9/8.12.9/Submit) with ESMTP id h37NdLgB006369; Mon, 7 Apr 2003 17:39:22 -0600 (MDT) Date: Mon, 7 Apr 2003 17:39:21 -0600 (MDT) From: Warren Block To: Konrad Scorciapino In-Reply-To: <200304071918.02077.fallenbr@uol.com.br> Message-ID: <20030407173621.J6189@wonkity.com> References: <200304062134.35974.fallenbr@uol.com.br> <200304071748.18921.fallenbr@uol.com.br> <200304071918.02077.fallenbr@uol.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Marc Wiz cc: freebsd-questions@freebsd.org Subject: Re: USB Printer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 23:39:27 -0000 On Mon, 7 Apr 2003, Konrad Scorciapino wrote: > > could you please post to the list the steps you took to get it working? > > Or barring that just e-mail them directly to me? > > konrad@localhost /home/konrad # enscript -p /etc/motd | gs -q -dNOPAUSE Look out! That's the bad version of the command, where it will wipe out /etc/motd because you are telling enscript to print *into* that file. Of course, if you correct the command to "enscript -p- /etc/motd" and try it again without putting something in the now-blank /etc/motd, you will be printing an empty file. -Warren Block * Rapid City, South Dakota USA