Re: Use of Cups printing in a home network.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Konstam:
>>> No entry is needed in the clent.conf file if the machines are on the
>>> same lan. In fact if you put that line in a clients client.conf file
>>> the machine will not be able to print to a local printer on the client
>>> machine.

Tim: 
>> Not entirely true...  Just to be pedantic, if you put the machines own
>> name in the client.conf file, it will print to itself.  The client's own
>> other CUPS config files can be used to refer to other printers.
>> 
>> Messy, but do-able.  ;-)  Though I can't think why you might want to do
>> that.

Aaron Konstam:
> I don't think what you said is pedantic, just wrong.

I don't know that it is.  "Wrong", in computing terms, generally meaning
something that you can't or mustn't to.  This just seems odd...

The reason I tried that, was because I had two servers on a network, one
of the servers also gets used as a computer, and I wanted to try
printing to the other server (instead of itself) to test out something.
So, rather than screw around with an system that was working well, I
merely adjusted the client.conf file so it used the other server, rather
than itself.  Then, afterwards, wrote its own name into the client.conf
for the sake of seeing what happened (whether it'd go back to printing
to itself, which it did).

Reading into the docs, it suggests that if you haven't configured the
client.conf file, the default is to use localhost.  Now, whether you
refer to a particular machine as localhost, or its unique hostname,
you're still referring to itself.  You get the same result - it prints
to its own server.  Which appears to be how a particular machine prints
to its own directly connected printer, through CUPS (client to server,
within the box).

Do a quick search for ServerName in the Administrator's Manual.

> If you identify the client machine as its own server its printer is
> the only one it will be able to print to. I am not sure what CUPS
> config files you suggest will allow printing to other printers on the
> network. Which are they?

Look through the docs/example comments in the cupsd.conf file, and you
can see how to configure a server to also use non-locally connected
printers (i.e. ones not on its own parallel, USB, or other types of
ports), ones on a network.  You can make one server a kind of hub for
printers across your network.

See:  BrowsePoll & BrowseRelay in the Administrator's Manual.

-- 
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux