Hi,

With LPRng version is 3.8.27 on Solaris 8, printing multiple copies
through a load balancing queue does not work, only one copy of each file
gets printed.  The same happens when you 'lpc move' a job to another
printer queue.  Only one copy gets printed.

My load balancing queue is d105_hp:

rzdspc5a# lpc printcap d105_hp
Printer: [EMAIL PROTECTED]
d105_hp|d105_hp Generische HP Queue (D106)
 :lf=/var/log/lpd/d105_hp.log
 :mx#0
 :sd=/var/spool/lpd/d105_hp
 :server
 :sv=d105a_hp,d105b_hp

After spooling three copies of the file /etc/motd into this queue:

rzdspc5a# lpr -Pd105_hp -#3 /etc/motd

the hf file /var/spool/lpd/d105_hp/hfA365 has three entries for the
datafile:

rzdspc5a# less /var/spool/lpd/d105_hp/hfA586
hfdatafiles=copies=0x1^Bdftransfername=dfA586rzdspc5a.informatik.uni-hamburg.de^Bformat=f^BN=/etc/motd^Bsize=59^Acopies=0x1^Bdftransfername=dfA586rzdspc5a.informatik.uni-hamburg.de^Bformat=f^BN=/etc/motd^Bsize=59^Acopies=0x1^Bdftransfername=dfA586rzdspc5a.informatik.uni-hamburg.de^Bformat=f^BN=/etc/motd^Bsize=59^A

But when the file gets moved to the subqueue d105a_hp, the 
the hf file /var/spool/lpd/d105a_hp/hfA365 has only one copy of this file
left:

rzdspc5a# less /var/spool/lpd/d105a_hp/hfA586
 ...
hfdatafiles=copies=0x1^Bdftransfername=dfA586rzdspc5a.informatik.uni-hamburg.de^Bformat=f^Bsize=59^A
 ...

it seems the code for moving print jobs into a new queue doesn't read
the hfdatafiles entry from the old queue's hf file  but merely copies the
datafiles into the new queue and builds a new hfdatafiles entry for the
new queue's hf file with a copy counter of 1 for each datafile.

Reinhard

-- 
Reinhard Zierke                       Universit�t Hamburg, FB Informatik
[EMAIL PROTECTED]      Vogt-K�lln-Stra�e 30, D-22527 Hamburg
[EMAIL PROTECTED]  Tel.: (040) 42883-2295/2276 Fax: -2241

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to