Subject: Re: Short Job Printer within a printer class? - msg#00050
List: printing.cups.devel
On Mon, Apr 23, 2007 at 06:19:05AM -0400, Andreas Bohne-Lang wrote:
>
Problem: We are looking for a "short job printer" within a printer class of 3
>
single printers. This printer should only print jobs with less of 10 pages.
>
>
If using a printer class, CUPS do a load balancing like 'round robin'.
>
>
Is it possible to configure the single printer by page count?
<shameless mode="ON">
You could use Tea4CUPS and pkpgcounter for doing this, both
are freely available from
http://www.pykota.com
Once installed what you want will be easily doable (probably less
than 15 minutes of mostly configuration work)
</shameless>
hth
Jerome Alet
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Short Job Printer within a printer class?
Problem: We are looking for a "short job printer" within a printer class of 3
single printers. This printer should only print jobs with less of 10 pages.
If using a printer class, CUPS do a load balancing like 'round robin'.
Is it possible to configure the single printer by page count?
Can a filter rewrite the environment variable 'PRINTER'?
Hope for help -- Andreas
Next Message by Date:
click to view message preview
why not hash?
hi there,
i'm new on this list.
i noticed that cups 1.2+ uses a binary search O(log n) to lookup the option
keyword which is a major improvement from a linear search O(n) on cups 1.1.
can it use a hash table lookup O(1) instead? would cups.org take it if i
write the hash table lookup? what's the process? obviously, i'm not familiar
with open source processes.
without realizing that 1.2+ added a binary search, i made small changes to
cups from Mac OS X open source to use the hash table lookup
(CFDictionary/CFString), and ppdConflicts() call which calls ppdFindOption()
got 2 times faster. btw, it spends more than 50% of time in ppdFindOption()
while opening the print dialog on Mac OS X.
katsura
Previous Message by Thread:
click to view message preview
Short Job Printer within a printer class?
Problem: We are looking for a "short job printer" within a printer class of 3
single printers. This printer should only print jobs with less of 10 pages.
If using a printer class, CUPS do a load balancing like 'round robin'.
Is it possible to configure the single printer by page count?
Can a filter rewrite the environment variable 'PRINTER'?
Hope for help -- Andreas
Next Message by Thread:
click to view message preview
why not hash?
hi there,
i'm new on this list.
i noticed that cups 1.2+ uses a binary search O(log n) to lookup the option
keyword which is a major improvement from a linear search O(n) on cups 1.1.
can it use a hash table lookup O(1) instead? would cups.org take it if i
write the hash table lookup? what's the process? obviously, i'm not familiar
with open source processes.
without realizing that 1.2+ added a binary search, i made small changes to
cups from Mac OS X open source to use the hash table lookup
(CFDictionary/CFString), and ppdConflicts() call which calls ppdFindOption()
got 2 times faster. btw, it spends more than 50% of time in ppdFindOption()
while opening the print dialog on Mac OS X.
katsura