From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51407-garchives=archives.gentoo.org@gentoo.org>)
	id 1GPTPz-0004JG-AY
	for garchives@archives.gentoo.org; Tue, 19 Sep 2006 00:24:55 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8J0NpFY031746;
	Tue, 19 Sep 2006 00:23:51 GMT
Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8J0J7YK031031
	for <gentoo-user@lists.gentoo.org>; Tue, 19 Sep 2006 00:19:08 GMT
Received: by nz-out-0102.google.com with SMTP id n1so1730277nzf
        for <gentoo-user@lists.gentoo.org>; Mon, 18 Sep 2006 17:19:07 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=QkdzP7hdXEN+y/mUT1lnf7Yd52ruFWRnerH7SywEW+aALJcQAWtwzCKf6pD/bC9BjTUwSDZeQuL/8Yo2yyxGAatNXt7Tm+KB4jzoOPX/6ldkK7iTpnHuTMfiyQmHgviEjB35dZaNrR/13Sif0MB+9cQClW2AvCiRv322Ffhc2/A=
Received: by 10.64.250.3 with SMTP id x3mr13617126qbh;
        Mon, 18 Sep 2006 17:19:07 -0700 (PDT)
Received: by 10.64.183.7 with HTTP; Mon, 18 Sep 2006 17:19:07 -0700 (PDT)
Message-ID: <b69857cf0609181719n661af42dl242ddfa7828131a5@mail.gmail.com>
Date: Mon, 18 Sep 2006 18:19:07 -0600
From: "Sarpy Sam" <sarpy.sam@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Sharing a CUPS printer
In-Reply-To: <5bdc1c8b0609181648g1b730181h1d4f6bf435a27bf4@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <5bdc1c8b0609181648g1b730181h1d4f6bf435a27bf4@mail.gmail.com>
X-Archives-Salt: 00ef1d91-fe07-4851-9631-2a1e15d0d034
X-Archives-Hash: cc68404f8e45d1680c3c4f6ca56e6f31

On 9/18/06, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>    Sorry. This has got to be me just not seeing the right way about
> this. What do I have to do on my Gentoo AMD64 machine with a working
> CUPS printer to share it with other Gentoo desktop machines here at
> home?
>
>    I have a working CUPS printer on my machine. I want to print to it
> from my wife and son's machines. I've been trying to figure out how to
> set that up but cannot get the right configuration. It seems that the
> Gentoo Printing Guide is somewhat silent on this.
>
> http://www.gentoo.org/doc/en/printing-howto.xml
>
>    On the machine with the printer I've done what I think the guide
> has asked for, modified for my network IP addresses:
>
> <Location />
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow From 192.168.1.*
> </Location>
>
> Port 631
> (make sure the next two lines are commented out)
> #Listen 127.0.0.1:631
> #Listen localhost:631

Maybe port 631 will work here, I have it set to Listen *.631

>    At this point I believe I'm supposed to set up IPP printing on the
> remote machines but everything I've tried there results in messages
> about the printer not being found, not responding, not existing, etc.
> I'm telling CUPS that it's an IPP printer and trying addresses like:
>
> ipp://lightning/ipp
> ipp://lightning/ipp/port1
> etc.

On the client mahines you want to comment out the listen localhost:631
line in cupsd.conf.  Then you want to make a file in /etc/cups called
client.conf.  Insert in it

ServerName  *****

Add whatever the name or ip address of the server machine is.
Somewhere I read that you have to use the server name as defined in
/etc/host, you might have to add it to the file if you haven't done
this all ready.  I did it that way and restrated cups and it worked.

lpstat -a
Epson accepting requests since Mon Sep 18 12:19:08 2006
hp_photosmart_7700_series_USB_1 accepting requests since Wed Jul 26
20:25:52 2006

The lpstat command will show if you are seeing the printer or not.

I just figured this out last night.  Hope it works for you.


> However when I try to print to it I get messages in CUPS like:
>
> "Destination printer does not exist!"
>
>    I'm sure it's just me not understanding the right way to input the
> printer's address.
>
> Thanks in advance,
> Mark
-- 
gentoo-user@gentoo.org mailing list