Re: How to start CUPS?

2010-09-09 Thread Francois Tigeot
On Thu, Sep 09, 2010 at 03:02:38PM -0400, Ed Berger wrote:
> It appears that your shell search path prefers the bsd lpr commands 
> instead of the ones from CUPS that are most likely installed in 
> /usr/pkg/bin instead of /usr/bin by pkgsrc.
> You can rename the bsd files to something else, or copy them over, but 
> its likely a future upgrade will some time replace them again

You can add a line

NO_LPR= true

in /etc/make.conf and the system will stop building and installing lpr
related commands during each make build / installworld.

-- 
Francois Tigeot


Re: How to start CUPS?

2010-09-09 Thread Ed Berger
It appears that your shell search path prefers the bsd lpr commands 
instead of the ones from CUPS that are most likely installed in 
/usr/pkg/bin instead of /usr/bin by pkgsrc.
You can rename the bsd files to something else, or copy them over, but 
its likely a future upgrade will some time replace them again




How do I set lp and lpq to be the ones that come with CUPS?

Pierre




Re: How to start CUPS?

2010-09-09 Thread Joe Talbott
On Thu, Sep 09, 2010 at 12:22:08PM -0400, Pierre Abbat wrote:
> I have CUPS running on dogla (DFly box) and set the CUPS on chausie (Ubuntu 
> box) to share the printer. It shows up on dogla's printer list on port 631. I 
> tried to print to it from the command line; lp is not the CUPS lp but 
> something else:
> 
> -bash-3.2$ man -t cp|lp -d hp
> lpr: Unable to connect to /var/run/printer: No such file or directory
> lpr: Check to see if the master 'lpd' process is running.
> jobs queued, but cannot start daemon.
> 
> How do I set lp and lpq to be the ones that come with CUPS?

I renamed lpr, lpq, etc. in the base to lpr.bak, etc.

Joe


Re: How to start CUPS?

2010-09-09 Thread Pierre Abbat
I have CUPS running on dogla (DFly box) and set the CUPS on chausie (Ubuntu 
box) to share the printer. It shows up on dogla's printer list on port 631. I 
tried to print to it from the command line; lp is not the CUPS lp but 
something else:

-bash-3.2$ man -t cp|lp -d hp
lpr: Unable to connect to /var/run/printer: No such file or directory
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.

How do I set lp and lpq to be the ones that come with CUPS?

Pierre
-- 
li fi'u vu'u fi'u fi'u du li pa