Designating the default printer
Len Zettel
zettel at acm.org
Tue May 6 14:28:01 PDT 2003
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?
thanks
-LenZ-
More information about the freebsd-questions
mailing list