Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 16:31:16 -0500 (CDT)
From:      Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
To:        Len Zettel <zettel@acm.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Designating the default printer
Message-ID:  <20030506163006.R98293@Gina.esfm.ipn.mx>
In-Reply-To: <3EB828A1.9BCAED92@acm.org>
References:  <3EB828A1.9BCAED92@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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#####|   *            _ |   __   |  |  __
=    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =   \______/           _
  | |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030506163006.R98293>