Printer Installation

Polytropon freebsd at edvax.de
Tue Aug 17 19:29:13 UTC 2010


On Tue, 17 Aug 2010 12:05:05 -0700, Rem Roberti <remegius at 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, ...


More information about the freebsd-questions mailing list