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*}

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

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


to /etc/src.conf.

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)

Attachment: pgpsfmmMjBHGx.pgp
Description: PGP signature

Reply via email to