[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8727.0. "About job printing sequence !!" by VAXRIO::63222::Manoel () Wed Feb 05 1997 13:13

Hi folks.
	
	This is a problem with the sequence the jobs are printed.
	If this is not the appropriate conference, please let me know 
asap.
	There is a customer that has defined two different queues in
/etc/printcap file, but these two queues point to the same printer.
	LP5 uses /dev/tty08 and points to D90TL server, port 5
	LP2 uses /dev/tty07 and points to D90TL server, port 5

	This is because he needs different filters, while printing
different types of files.

	Everything is working, but he said that the time sequence
doesn't work properly.
	That is if you start to print in lp5, and let five files in 
/usr/spool/lpd5 spool directory, you can see one printing and the others
wainting, and until here nothing wrong.
	Now you start a command to print in lp2, this file that is 
wainting in /usr/spool/lpd2 spool directory will print prior to the 
second in /usr/spool/lpd5, why ?
	Does it has something to do with the queue number (2 or 5)
	Is this a supposed behaviour ?

	Thanks in advance for any help.
	Regards.


				Manoel F. Abreu Neto(MCS/DEC-Rio)

T.RTitleUserPersonal
Name
DateLines
8727.1Patches?NETRIX::"[email protected]"John McNultyThu Feb 06 1997 09:5110
What version are you running?  There is a patch in the V3.2C -> V3.2F 
patch kits to fix print queue order problems.  Though whether it fixes
your problem is another matter.  There are examples in the README section
of how to reproduce the problem and what the results look like before and
after the patch is applied.   

Try the test for yourself and see.

John 
[Posted by WWW Notes gateway]
8727.2Thanks and little more detail.VAXRIO::63222::ManoelThu Feb 06 1997 15:5710
	Ok, thanks, I'll verify about the patches, but in this case I
think it won't solve, because there are two different spool areas 
pointing to the same printer, and one has always bigger job numbers than
the other. I tried to use the same spool area for those two different
queues, but another problem raised, some times text files don� come out, 
only header prints.

MFAN(MCS/DEC-Rio)

8727.3scheduling sounds normalR2ME2::DEVRIESdownsized: your footage may varyFri Feb 07 1997 09:159
Most queue controllers order jobs within specific queues only, not between
different queues, which the queue controllers may not know ultimately refer to
the same printer.  And most device controllers allot access in round-robin
order, because they don't know about jobs that haven't been sent to them yet, or
about submission times, etc.  Though I don't know the specifics of these
components in Digital UNIX, your description of the scheduling seems to fit this
standard approach.  It's exactly the way I'd expect them to operate.

-Mark