Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mimsy!oddjob!hao!boulder!sunybcs!rutgers!lll-lcc!ptsfa!ihnp4!inuxc!iuvax!pur-ee!uiucdcs!bradley!brad From: brad@bradley.UUCP Newsgroups: comp.unix.questions Subject: Re: lp spool system query Message-ID: <10800006@bradley> Date: Mon, 17-Aug-87 23:45:00 EDT Article-I.D.: bradley.10800006 Posted: Mon Aug 17 23:45:00 1987 Date-Received: Fri, 21-Aug-87 06:44:23 EDT References: <507@chas2.UUCP> Lines: 20 Nf-ID: #R:chas2.UUCP:507:bradley:10800006:000:878 Nf-From: bradley.UUCP!brad Aug 17 22:45:00 1987 Well I have something like your problems....I have a printronix MVP printer....I wanted to be able to print 10 chars/inch and if someone else sent something at 17 pitch not to come out at the same time (which is easy....just have them use the same lock file). But as I recall this had a draw back of either the 17 pitch coming out at 10 pitch ( I think the spooling directories were the same), or the 17 pitch file not coming out until someone sends another 17 pitch file while the printer is not printing another pitch. My fix was to patch lpd to wait for the /dev/tty entry to be unlocked via flock and to have the lock files in different directories. The solution might not be helpful for binary sites. Bradley Smith UUCP: {cepu,ihnp4,noao,uiucdcs}!bradley!brad Text Processing ARPA: cepu!bradley!brad@CS.UCLA Bradley University PH: (309) 677-2337 Peoria, IL 61625