Cups spool - File2.txt is being printed before File1.txt

Ricardo Zucolotto ricardozuco at yahoo.com.br
Wed Sep 26 12:44:08 PDT 2007


Hello fellows,

I have a problem with CUPS' spool... something weird is happening in my server. I have a software upon a Linux Mandrake 2007  2.6.17-13mdv #1 SMP (Xeon) running CUPS 1.3 and SAMBA 3.0.24.

I have two servers, SERVER1 and SERVER2. The SERVER1 send its printing requests to SERVER2 using IPP (they're linked by a gigabit cable also used for NFS system files) and sometimes (it isn't the rule). The system creates the file (i.e. file1.txt) and make a lpr to print it, and then create the file2.txt and do the same task to print file2.txt ang go on. But the interval behind one file's creation and other is about 3 seconds (it is a sequential task, it may generate up to 50 files to the spool).

I noticed after some complaining, the file1.txt is printer AFTER file2.txt, and I checked in my spool folder, as shown below:

FILE1.TXT - c34379
FILE2.TXT - c34381

-rw------- 1 root lp 970 2007-09-26 14:13:34.000000000 -0300 c34381
-rw------- 1 root lp 934 2007-09-26 14:13:53.000000000 -0300 c34379

This is just occurs when we perform lots of lpr requests.

My ideia is:

There is a way to preserve the spool sequence?? The File1.txt must be printed before File2.txt.

What I can do to solve this problem in CUPS configuration??

Thanks ppl.
Ricardo







More information about the cups mailing list