Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 2003 17:26:57 -0400
From:      Len Zettel <zettel@acm.org>
To:        freebsd-questions@freebsd.org
Subject:   Designating the default printer
Message-ID:  <3EB828A1.9BCAED92@acm.org>

next in thread | raw e-mail | index | archive | help
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-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB828A1.9BCAED92>