Operating System - Linux
1752777 Members
6269 Online
108789 Solutions
New Discussion юеВ

spooler counter from 999 to 9999. How to ?

 
TOMAS BERNABEU
Frequent Advisor

spooler counter from 999 to 9999. How to ?

Hello !
when I send more than 1000 works to print, the counter jobs who arrives up to 999 gives the return and the first works are crushed.
I need increase the counter to four digits.

???? ??
5 REPLIES 5
Stuart Browne
Honored Contributor

Re: spooler counter from 999 to 9999. How to ?

Over a thousand jobs at the same instant?

Hrm, ok. I could think of better ways to do thigns but, lets work with what we've got.

What print spooler are you using? Cupsd, or lpd ?

Neither of them support passing your own ID, so that would mean you'll need to grab the source, and modify the max spool jobs in there, and re-compile.

One long-haired git at your service...
TOMAS BERNABEU
Frequent Advisor

Re: spooler counter from 999 to 9999. How to ?


Hello Stuart !

Yes, more than 1000 in few seconds.
I am using lpd in redhat 7.1 updated.


U.SivaKumar_2
Honored Contributor

Re: spooler counter from 999 to 9999. How to ?

Hi,

Any errors in log files ?

regards,

U.SivaKumar
Innovations are made when conventions are broken
TOMAS BERNABEU
Frequent Advisor

Re: spooler counter from 999 to 9999. How to ?


solved problem .

man lpd.conf say :

longnumber (default: no) RFC1179 requires 3 digit job numbers; setting longnumber to yes allows 6 digit numbers.If the backwards_compatible flag is set, only 3
digit numbers will be used.

thanks !!

Stuart Browne
Honored Contributor

Re: spooler counter from 999 to 9999. How to ?

wow.. learn something new every day ;P
One long-haired git at your service...