Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 17:47:13 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Chris Dillon <cdillon@wolves.k12.mo.us>
Cc:        Konrad Heuer <kheuer@gwdu60.gwdg.de>, Lorenzo Iania <l.iania@sintesi.net>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: PROBLEM FOUND (sort of): Re: lpr: order of print requests
Message-ID:  <20000502174713.A14919@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.20.0005021309580.92225-100000@mail.wolves.k12.mo.us>; from "Chris Dillon" on Tue May  2 15:57:00 GMT 2000
References:  <Pine.BSF.4.05.10005021716540.3805-100000@gwdu60.gwdg.de> <Pine.BSF.4.20.0005021309580.92225-100000@mail.wolves.k12.mo.us>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 02), Chris Dillon said:
> On Tue, 2 May 2000, Konrad Heuer wrote:
> > Hmm, I've never seen such a strange behaviour. Lpd should do FIFO.
> > Could you give some more infos about your environment (os release,
> > input filter program, printer type)?

Aha.  Yes, it _does_ do FIFO, but if you look at the source, the queue
sorting routine simply sorts on stat(mtime) of the queue file, so jobs
submitted in the same second will sort randomly.  A quick fix would be
to sleep for 1 second between "lpr" calls.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000502174713.A14919>