Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 05-23-2013, 02:39 PM   #1
Registered: May 2009
Posts: 34

Rep: Reputation: 0
Load balancing in cups

Not sure if this is a networking or hardware question but here goes.
I have set up a cups class for load balancing with two identical network printers.

The issue is sometimes cups sees printer one as busy and sends the remaining of the document to printer two.

People are loosing pages because they don't think to check printer two.

Is there a way to set cups so that it will only switch printers if printer one is down or offline?


Oh my Linux distro is Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Last edited by z01krh; 05-23-2013 at 02:41 PM.
Old 05-28-2013, 10:12 AM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 968
Blog Entries: 2

Rep: Reputation: 232Reputation: 232Reputation: 232
Sounds like you want each whole print job (as seen by your users) sent to the same printer.

Do you know whether your application prints a whole document as a single print job or as one per page?
Old 05-28-2013, 10:27 AM   #3
Registered: May 2009
Posts: 34

Original Poster
Rep: Reputation: 0
I am trying to find out. The application is a 3rd party. I think the application is submitting each page as a separate job request witch is what is causing this behavior. If they could submit the whole document as one request I don't think this would happen. But I am working with the vendor to find out.
Old 06-18-2013, 02:15 PM   #4
Registered: May 2009
Posts: 34

Original Poster
Rep: Reputation: 0
I found the solution to this issue if anyone else has this problem.
1) Make sure you have the most recent cups version. This was fixed in 1.3 and up.
2) My issue was 3rd party software. It was submitting the document as individual print jobs.
I had them rewrite the print software to submit the whole document as one request.
I also defined a default printer when setting up the cups class.


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
Load Balancing ccnaraj Linux - Networking 1 08-30-2012 01:59 AM
load balancing ricnoah Linux - Networking 4 08-05-2010 09:46 AM
Load Balancing jjrowan Linux - Networking 1 03-06-2009 01:02 PM
Load Balancing Winanjaya Linux - Networking 3 10-03-2006 08:13 AM
how to do load balancing? yenonn Linux - Networking 2 07-27-2004 09:20 PM

All times are GMT -5. The time now is 11:53 PM.

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