> From [EMAIL PROTECTED] Wed Oct 18 06:16:03 2000 > From: [EMAIL PROTECTED] > Date: Wed, 18 Oct 2000 15:15:53 +0200 (MET DST) > Subject: LPRNGLIST (Patrick - Sending to LPRng BB from non-list members) > To: undisclosed-recipients:; > > --- > > Subject: Bounce queues "bq_format" > > (1) I can not get "bq_format=<X>" to work. When a job is passed on > from a bounce queue, the next queue calls the "if=" filter even > though I have set "bq_format=d". Here is an example printcap :- > > a > :lp=b@localhost > :sd=/var/spool/lpd/a > :lf=/var/spool/lpd/a/error.log > > b > :sd=/var/spool/lpd/b > :lpd_bounce > :bq_format=d > :lp=c@<hostname> > :lf=/var/spool/lpd/b/error.log > :df=/LPDTESTING/queue_b_filter_d > :vf=/LPDTESTING/queue_b_filter_v > :db=1 > > c > :sd=/var/spool/lpd/c > :lp=/dev/null > :lf=/var/spool/lpd/c/error.log > :if=/LPDTESTING/queue_c_filter_i > :df=/LPDTESTING/queue_c_filter_d > :vf=/LPDTESTING/queue_c_filter_v > :db=1 > > The "queue_<x>_filter_<y>" filters simply create a file in /tmp > called "queue_<x>_filter_<y>.log" that contain the args to the > filter and copy stdin to stdout - this way it is simple to see > what filters have been called. > > If I use the command :- > > % lpr -Pa -v > > then I can see, from the names of the logs in /tmp, that bounce > queue "b" has called the "vf=" filter (as expected), but the > final queue "c" has called the "if=" filter instead of the "df=" > filter that I expected from the "bq_format=d" on the "b" queue. > Am I doing something wrong, or is this a bug? Bug! Bug! Fixed in the next release. Patrick > > From the debugging in the error log for bounce queue "b" I can > see that the control file initially contains the line :- > > ... > vdfA254<hostname> > UdfA254<hostname> > > but after the "vf=" filter has run it contains :- > > ... > fdfA254<hostname> > UdfA254<hostname> > > [We am using LPRng-3.6.24 on a Solaris 2.6 system] > > (2) I want to be able to run jobs through a bounce queue and leave > the format unchanged, or even better, for each format run a > filter and specify another format as its' output. I do not want > all the input formats to go through the bounce queue filters > and then be converted to a *single* format specified by > "bq_format=<X>". Is this possible - is there something other > than bounce queues to do this with? > > I believe this is possible with PLP (which we still happily use) > as all queues will run filters, even if they are to forward a > file to a remote machine, and you can specify "Xf=filter,Y", > where 'Y' was the new format. > > I have very good reasons for wanting to run filters on a local > server before forwarding them on to remote machines with possibly > changed format specifications. > > Thanks for your time > Max > > PS. I am a member of the LPRng bulletin board list, so you can send > answsers to the list. > ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
