From owner-freebsd-questions@FreeBSD.ORG Tue May 6 14:32:36 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 4E29137B408 for ; Tue, 6 May 2003 14:32:36 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B7C43FAF for ; Tue, 6 May 2003 14:32:35 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h46LVGNY001687; Tue, 6 May 2003 16:31:16 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h46LVGAC001684; Tue, 6 May 2003 16:31:16 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Tue, 6 May 2003 16:31:16 -0500 (CDT) From: Eduardo Viruena Silva To: Len Zettel In-Reply-To: <3EB828A1.9BCAED92@acm.org> Message-ID: <20030506163006.R98293@Gina.esfm.ipn.mx> References: <3EB828A1.9BCAED92@acm.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Designating the default 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: Tue, 06 May 2003 21:32:36 -0000 On Tue, 6 May 2003, Len Zettel wrote: > This is my /etc/printcap file. > > # @(#)Printcap 5.3 (Berkeley) 6/30/90 > # $FreeBSD: src/etc/printcap,v 1.12 2002/07/31 10:05:37 blackend Exp > # Lines below by Len Zettel May 4, 2003 > # Printer name is Laserjet followed by some aliases. > # Header pages suppressed with :sh: > # spooling directory (sd) is /var/spool/lpd/Laserjet > # the line printer device is lpt0 > # the input filter (if) is if-simple > Laserjet|hp|Hewlett Packard Laserjet 1100:\ > :sh:sd=/var/spool/lpd/Laserjet:\ > :lp=/dev/lpt0:\ > :if=/usr/local/libexec/if-simple: > # > ------------------------------------------------------------- > If I do lpr -PLaserjet foo > file foo is neatly printed out. > > Following Unix Power Tools 43.04, p 790, entering > PRINTER=Laserjet ; export PRINTER > from a console lets me do > lpr foo > file foo is printed as above. > > Question: What do I put where to specify Laserjet as > the default printer as part of the boot sequence? why don't you call it "lp" ? > > thanks > -LenZ- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | |