I have 2 printers on my cups server. I want that when the print has more than 10 pages, it would be redirected to a specific printer.
How can I do that?
Never done this but see `man filter'. It describes cups filters. Maybe you could write your own filter that would detect number of pages and send it to specific printer.
You can easily take advantage of the CUPS load balancing feature. This is done via the "class" feature. Add the two printers to a class and use the class as the print destination. CUPS will distribute jobs evenly between the printers contained within the class.