Date: Sat, 12 Jul 2008 00:59:54 +0200 From: Roland Smith <rsmith@xs4all.nl> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Printer Installation Message-ID: <20080711225954.GA93550@slackbox.xs4all.nl> In-Reply-To: <20080711194558.GA2442@remdogbsd> References: <20080711194558.GA2442@remdogbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
--NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. = =20 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: =2Eif ${.CURDIR:M*/print/cups*} CUPS_OVERWRITE_BASE=3Dtrue =2Eendif Then rebuild and re-install the cups-base port. To prevent the next system rebuild from undoing this, you should also add WITHOUT_LPR=3Dtrue to /etc/src.conf. Roland --=20 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) --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkh35eoACgkQEnfvsMMhpyUuiQCfaEnDktP1UODmDvQf6SpTfaju j0UAn378qwZQkGNPiQStQZ6iYYJqgkjg =hT/l -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080711225954.GA93550>