public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sarpy Sam" <sarpy.sam@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Sharing a CUPS printer
Date: Mon, 18 Sep 2006 18:19:07 -0600	[thread overview]
Message-ID: <b69857cf0609181719n661af42dl242ddfa7828131a5@mail.gmail.com> (raw)
In-Reply-To: <5bdc1c8b0609181648g1b730181h1d4f6bf435a27bf4@mail.gmail.com>

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



  reply	other threads:[~2006-09-19  0:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-18 23:48 [gentoo-user] Sharing a CUPS printer Mark Knecht
2006-09-19  0:19 ` Sarpy Sam [this message]
2006-09-19  1:38   ` Mark Knecht
2006-09-19  2:06     ` Sarpy Sam
2006-09-19 16:37       ` Mark Knecht
     [not found]     ` <7573e9640609181943j640398bev63dfaa831a992842@mail.gmail.com>
2006-09-19  7:49       ` [gentoo-user] " Stefan Wimmer
2006-09-19 10:46     ` [gentoo-user] " Sarpy Sam
2006-09-19  8:26 ` Mick
2006-09-19 11:05   ` Nick Rout

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b69857cf0609181719n661af42dl242ddfa7828131a5@mail.gmail.com \
    --to=sarpy.sam@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox