Printer Installation

Roland Smith rsmith at xs4all.nl
Fri Jul 11 22:59:57 UTC 2008


On Fri, Jul 11, 2008 at 12:45:58PM -0700, Rem P Roberti wrote:
> This has been an ongoing problem for me because of my lack of knowledge
> about the processes involved.  I have a postscript printer which was
> installed using CUPS via the KDE printer wizard.  The printer works fine
> when printing from X apps, but I am unable to print from the command
> line.  My main concern is to be able to print from Mutt, but when I try
> to do that I get an error message from Mutt telling me,"lpr: lp: unknown
> printer."  I would appreciate being pointed in the right direction here.  

You should define CUPS_OVERWRITE_BASE when building cups. This will
install cups's lp* programs over the system programs. The easiest
way to do that is to add the following lines to /etc/make.conf:

.if ${.CURDIR:M*/print/cups*}
CUPS_OVERWRITE_BASE=true
.endif

Then rebuild and re-install the cups-base port.

To prevent the next system rebuild from undoing this, you should also
add

WITHOUT_LPR=true

to /etc/src.conf.


Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080711/95c95e2d/attachment.pgp


More information about the freebsd-questions mailing list