Designating the default printer
Eduardo Viruena Silva
mrspock at esfm.ipn.mx
Tue May 6 14:32:36 PDT 2003
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
- ______ _
* / /###\ / \ __
/\ /\ * / ./#### \ * \__|_/ | |
/ \/ \ | b#####| * _ | __ | | __
= .. \____ \ \_\#####/ / \| / \ | | /\_\/
= \_| * \___\###/ * \_/\_/\__/\__\/_/\__/
= \______/ _
| |
More information about the freebsd-questions
mailing list