You are not logged in.

#1 2012-11-22 12:55:05

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

help with new cups

Well, before moving to the new cups, I had a print server set up on a small headless box
and an other one on my desktop box. The goal was to have the servers shared printers always visible for all the clients,
and to have a PDF virtual printer on my desktop.

With the new cups, if I have only the local box (default) in my /etc/cups/client.conf, the remote printers are not visible.
If I set up the client.conf file to use the remote servers address, all the shared printers are visible, but not the local (PDF) printer.
Setting both addresses does not work.

Can somebody tell me, how to get all the printers always visible for this new cups?

Last edited by scar (2012-11-23 18:34:01)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#2 2012-11-22 17:23:35

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: help with new cups

iirc, there is an option in the web-gui to share a certain printer. Tick that option and all should be well?

Offline

#3 2012-11-23 07:13:57

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: help with new cups

I've already ticked it, does not work.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#4 2012-11-23 18:18:32

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: help with new cups

Ok, a bit angry about it, but i will use the full ipp path setup on my client.

But there are a few questions, maybe ironical - please, explain me, enlighten me there...

If there's a reason for setting up print servers, it is that you do not want to bother by installing drivers on the client, and you want to have all your printers on all your servers accessible to anyone.

(at least, this is my case)

Example: pal passes, you drink a coffe, etc, and he says: got to print a page, can you help me? You say: there's it, use it.
No need to set up anything, he plugs in a cable/turns on wifi, selects the printer FROM HIS BLOODY LIBREOFFICE WRITER and hits PRINT THE **** PAGE

It was the old cups.

And the new:

Could anyone tell me, how to set up two or more different print servers on the same network, one of them maybe your local machine; all of them accessible from all the clients?
Could anyone tell me, how avahi works, because (after I gave up the above ideas) if cups discovers (Find New Printers) the print-server's shared printer,
sometimes it discovers the printer twice. Sometimes once. Sometimes not at all.
And if I add it, why do I have to choose a printer drives? Was that damn thing not shared? I mean, what is THIS stuff, M$, or what?
Or all this happens, because in /etc/cups/client.conf I have still the local cups socket?
How can I change this(I mean to have the server IP) and to HAVE MY LOCAL PDF PRINTER TOO?

Sorry, if all this looks a bit angry, but I'm really a bit angry.
I just want to have all my printers available without editing the clent.conf file everytime I want to change the printer.
Which is stupid.

[EDIT: if you want to dustbin-it, do it. I still hold to my post]

Last edited by scar (2012-11-23 18:19:20)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#5 2012-11-23 18:44:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: help with new cups

On my client machine, I just have the server address in the client.conf, and it works.

scar wrote:

Or all this happens, because in /etc/cups/client.conf I have still the local cups socket?

You will note that the comment says:

client.conf wrote:

#  alternative: ServerName hostname-or-ip-address[:port] of a remote server

alternative being the operative word...

Someone else in one of these threads also mentioned removing the socket if it was dead/inactive.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-11-23 19:02:14

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: help with new cups

OK, but what if I want to use my LOCALLY installed cups-pdf printer too?
Because first I want print to my HP printer (server) and after this I want to print to PDF (locally)?
And finally, what if you have MULTIPLE servers?

Last edited by scar (2012-11-23 19:09:20)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#7 2012-11-23 19:37:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: help with new cups

Print to file should still be the default option. For multiple print servers, you could try:

ServerName host1
ServerName host2

But that is a scenario I haven't had to deal with...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-11-23 20:06:57

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: help with new cups

Thanks for the reply, and you will hate me for the answer, but I've already tried it.

precisely:

Try1:
Servername: some_remote_print_server_1
Servername: some_remote_print_server_2

Try2:
Servername: localhost
Servername: some_remote_print_server_1 (or 2, no difference)

Try3
ServerName: /path/to/local/socket
Servername: some_remote_print_server_1 (or 2, or localhost, no difference)

and:
variations of the above lines in different order(s)

In each type of try only the first line was working. All the other lines do not affect anything.

I've already tried to have two servers on one line separated by spaces/commas/etc... nothing...


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#9 2012-11-23 23:20:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: help with new cups

Yes, it appears that only one name is supported. See: http://localhost:631/help/ref-client-conf.html?QUERY=ServerName#ServerName

Note:
Only one ServerName directive may appear. If multiple names are present, only the last one is used. This directive is not supported on OS X 10.7 or later.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2012-11-24 07:36:27

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: help with new cups

But hell, WHAT IS THIS STUFF?? I mean, there are larger setups with multiple print servers, so what happens to them?
Is this really serious?
(sorry for bothering you, I will continue lamenting at the cups mailing list)

Last edited by scar (2012-11-24 11:29:56)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB