LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2010, 05:24 AM   #1
jppengin
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Cups Implicit Classes and Windows


To foster from the failover concept of Cups I have set up 2 servers with the same printers and settings to enable the implicit classes.

Server A
I added first aprinter defined with the name myprinter (a Ricoh MP5000)

cupsd.conf
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS
BrowsePoll Server B
ImplicitClasses On


Server B
On Server B i did no printer definition
cupsd.conf
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS
BrowsePoll Server A
ImplicitClasses On

That is working fine on Cups web interface of Server B
i see queuename Server A.myprinter(and vice versa).

Now I add the printer (without samba via ipp) to my windows client with the parameters http://server A:631/classes/myprinter. I can print that way all ok. The job appears and will be printed on Server A

COLOR="DarkRed"]Now my Question[/COLOR]
When I disable myprinter on A. I cannot print. I expected with the implicit classes that it switches to Server B.
Is the idea wrong ? Or is Windows limited here ? Or is there another way of defintion I have to do.

My both servers are running on different platforms
Suse SLES 10 and Red Hat. CUPS version 1.4.4
Hopefully someone can help.
Thanks
 
Old 10-21-2010, 02:51 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by jppengin View Post
Now my Question
When I disable myprinter on A. I cannot print. I expected with the implicit classes that it switches to Server B.
Is the idea wrong ? Or is Windows limited here ? Or is there another way of defintion I have to do.

My both servers are running on different platforms
Suse SLES 10 and Red Hat. CUPS version 1.4.4
Hopefully someone can help.
Thanks

A quick google suggests:
Quote:
Implicit Class

CUPS also supports the special type of printer class called as implicit class. These implicit classes work just like printer classes, but they are created automatically based on the available "printers and printer classes" on the network. CUPS identifies printers with identical configurations intelligently, and has the client machines send their print jobs to the first available printer. If one or more printers go down, the jobs are automatically redirected to the servers that are running, providing fail-safe printing.
My guess is that "disabling" means it's unavailable; and
that would explain what you see.


Cheers,
Tink
 
Old 11-02-2010, 06:50 AM   #3
jppengin
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Implicit class and windows client

Thanks for the reply. I have done a lot of research .. at least I found my answer about this behaviour.
Limitation:
The failover only works with CUPS clients; Windows lacks the features required to support implicit classes and failover.
But I have no chance till now to test it with a CUPS client on Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups + windows xp GoinEasy9 Linux - Networking 6 03-18-2006 11:39 PM
OOP (PHP) classes and extended classes ldp Programming 3 03-05-2005 12:45 PM
gcc 3.4.1 and c implicit declaration foo_bar_foo Programming 1 01-27-2005 05:49 PM
implicit deny in iptables tarheel92x Linux - Networking 2 11-13-2003 10:02 PM
CUPS With Windows LinuxHaven Linux - Networking 1 08-15-2002 12:51 AM


All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration