Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 21:29:09 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Rem Roberti <remegius@comcast.net>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Printer Installation
Message-ID:  <20100817212909.b8d7319a.freebsd@edvax.de>
In-Reply-To: <4C6ADD61.9010101@comcast.net>
References:  <4C6ADD61.9010101@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Aug 2010 12:05:05 -0700, Rem Roberti <remegius@comcast.net> wrote:
> I seem to recall 
> that there could be a path problem with lpr if CUPS is installed and one 
> tries to use lpd, but I've forgotten how to deal with that, if indeed 
> that is the problem. 

CUPS installs its binaries into /usr/local/bin, if not compiled
with options saying otherwise (in which case it can replace the
system's programs). Depending on $PATH, /usr/bin/lpr or CUPS's
/usr/local/bin/lpr can be invoked. By explicitely using

	# /usr/bin/lpr /etc/printcap

for example, you can be sure to call the correct program.

By the way, using the printer's name as -P parameter for the
default printer's name (lp) is not needed. You can also use
the environment variable PRINTER to define a standard printer's
name instead of lp.



> BTW, I have included ulpt0 as a permission in my 
> /etc/fstab file.

Do you mean /etc/devfs.conf, /etc/devfs.rules or /etc/devd.conf,
as the file system table doesn't seem to be involved here? :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100817212909.b8d7319a.freebsd>