Just downloaded 3.6.19(couldn't find 3.6.20?) and tested again. Same
 problem. First I attempted a rpm -F to install and then after the same
 result I completely removed lprng and ifhp and re-installed(ie rpm --install).
 By the way this points out a gap in the documentation on how to install  the
 lprng rpm - either that or I am missing it. In a default rh install(ie 6.2)
 lpr-0.50-4, printtool-3.44-1, and rhs-printfilters-1.63-1 are installed.
 When I initially tried to install LPRng-3.6.13-1(see original post) a 
 rpm --install obviously conflicts with lpr-0.50-4. In lieu of removing
 all the utilities I used "rpm --install --replacefiles LPR ..." to install.
 Subsequent updates of LPRng rpm I attempted to use "rpm -F LPR..." with
 some errors. Specifically 3.6.13-1 removal failed. What is the recommended
 rpm sequence to install and upgrade(ie freshen) ?

 Back to the problem at hand ... Once again replacing the sh version of pclbanner
 with the perl version works. The diff between the pclbanner sh version in 
 3.6.19 and 3.6.14 is :
109c109
< UELPJL="\033%%-12345X@PJL \n";
---
> UELPJL="\033%%-12345X\@PJL \n";
148c148
<     # printf "$UELPJL" ;
---
>     printf "$UELPJL" ;   

 Is this correct ? 

 What else can I test with to help ? I include the status.deslz file again 
 from the failing pclbanner.
 
 The "Additional small problem ..." I identifed below I traced to the removal
 of the /etc/rc.d/init.d/lprng rc symbolic links via the rpm -F option. That is
 the links to lprng in the rcX.d directories(ie SXXlprng) were removed. Hence it
 was not stopped resulting in the killall problem below.

 I also attempted removing the ",status@" ifhp entry to see what would happen.
 (remember I have a HP 8000 connected - parallel - to a ExtendNet SX 2811C)

deslz:\
         :lp=deslz%9100:\
         :sd=/usr/spool/lpd/deslz:\
         :mx#0:\
         :bp=/usr/libexec/filters/pclbanner:\
         :ifhp=model=hp8000,status@\
         :if=/usr/libexec/filters/ifhp:

 An lpr(using the perl pclbanner:) to deslz hangs for a couple of minutes and
 then completes properly. The pagecount information in the status file is correct.
 What can I do to keep the pagecount but get rid of the hang ? The relevant lines
 from the status file are given below :

using model 'hp8000' at 14:26:34.177
pagecount using 'pjl info pagecount' at 14:26:34.178
setting up printer at 14:26:34.178
getting sync using 'pjl echo' at 14:26:34.178
sync done at 14:28:16.912
pagecounter 91804 at 14:28:16.912
pagecounter 91804 at 14:28:16.912
sending job file at 14:28:16.913
starting transfer at 14:28:16.913
file program = '/usr/bin/file -' at 14:28:16.913
started FILE_UTIL- '/usr/bin/file -' at 14:28:16.913
file information = 'ascii_text' at 14:28:16.933
initial job type 'ascii_text' at 14:28:16.934
decoded job type 'PCL' at 14:28:16.934
job type 'PCL' at 14:28:16.934
transferring 208 bytes at 14:28:16.934
3 percent done at 14:28:16.935
100 percent done at 14:28:16.935
finished writing file, cleaning up at 14:28:16.935
sent job file at 14:28:16.935
getting end using 'pjl job/eoj' at 14:28:16.935
end of job detected at 14:28:47.492
pagecounter 91806 at 14:28:47.992
pagecounter 91806, pages 2 at 14:28:47.992
done at 14:28:47.992
 


 
[EMAIL PROTECTED] wrote:
> 
> > From [EMAIL PROTECTED] Wed Jun 21 13:11:25 2000
> > Date: Wed, 21 Jun 2000 15:00:17 -0400
> > From: David Livingstone <[EMAIL PROTECTED]>
> > To: Lprng Mailing list <[EMAIL PROTECTED]>
> > Subject: [Fwd: LPRng: pclbanner problems from LPRng-3.6.14-1]
> >
> > This is a multi-part message in MIME format.
> > --------------490FF9D2DAAB10BAF6858EE7
> > Content-Type: text/plain; charset=us-ascii
> > Content-Transfer-Encoding: 7bit
> >
> >
> >  Just installed LPRng-3.6.18-1.i386.rpm and ifhp-3.3.16-1.i386.rpm
> >  and re-tested. Unfortunately the end result is the same. Do you want
> >  the status.deslz file ?
> >
> >  Additional small problem :
> >
> >    Redhat 6.2 executes /etc/rc.d/init.d/killall (see below) on reboot
> >    or powerdown. For each file listed in /var/lock/subsys/ it sends the
> >    corresponding script in /etc/rc.d/init.d a stop parameter. Unfortunately
> >    the /etc/rc.d/init.d/lprng script does not match with the
> >    /var/lock/subsys/lpd file and hence an error message is generated.
> >
> 
> I just did this installation on a 'Virgin' RedHat 6.2 system and did not
> get this problem.
> 
> I am puzzled that you are having this problem.
> 
> Patrick Powell                 Astart Technologies,
> [EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
> Network and System             San Diego, CA 92123
>   Consulting                   858-874-6543 FAX 858-279-8424
> LPRng - Print Spooler (http://www.astart.com)
> 
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
waiting for subserver to exit at 2000-06-29-15:11:22.662 ## identifier=<NULL> number=0 
process=5606
subserver pid 5607 starting at 2000-06-29-15:11:22.665 ## identifier=root@xsmtl2+604 
number=604 process=5607
accounting at start at 2000-06-29-15:11:22.665 ## identifier=root@xsmtl2+604 
number=604 process=5607
opening device 'deslz%9100' at 2000-06-29-15:11:22.665 ## identifier=root@xsmtl2+604 
number=604 process=5607
printing job 'root@xsmtl2+604' at 2000-06-29-15:11:22.717 ## 
identifier=root@xsmtl2+604 number=604 process=5607
creating banner at 2000-06-29-15:11:22.717 ## identifier=root@xsmtl2+604 number=604 
process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.733 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.733 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.742 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.742 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.751 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.751 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.759 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.760 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.768 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.768 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.776 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.777 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.785 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.785 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.793 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.793 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.802 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.802 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.810 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.810 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: unexpected EOF while looking for `'' at 
2000-06-29-15:11:22.819 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: command substitution: line 2: syntax error at 
2000-06-29-15:11:22.819 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xdeslz: unary operator expected at 
2000-06-29-15:11:22.830 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xbp=/usr/libexec/filters/pclbanner: 
unary operator expected at 2000-06-29-15:11:22.848 ## identifier=root@xsmtl2+604 
number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xif=/usr/libexec/filters/ifhp: unary 
operator expected at 2000-06-29-15:11:22.867 ## identifier=root@xsmtl2+604 number=604 
process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xifhp=model=hp8000,status@: unary 
operator expected at 2000-06-29-15:11:22.885 ## identifier=root@xsmtl2+604 number=604 
process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xlp=deslz%9100: unary operator expected 
at 2000-06-29-15:11:22.904 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xmx#0: unary operator expected at 
2000-06-29-15:11:22.923 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: Xsd=/usr/spool/lpd/deslz: unary operator 
expected at 2000-06-29-15:11:22.941 ## identifier=root@xsmtl2+604 number=604 
process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XH: unary operator expected at 
2000-06-29-15:11:22.950 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XP: unary operator expected at 
2000-06-29-15:11:22.958 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XJ: unary operator expected at 
2000-06-29-15:11:22.966 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XC: unary operator expected at 
2000-06-29-15:11:22.974 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XL: unary operator expected at 
2000-06-29-15:11:22.982 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XA: unary operator expected at 
2000-06-29-15:11:22.990 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XD: unary operator expected at 
2000-06-29-15:11:22.998 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XQ: unary operator expected at 
2000-06-29-15:11:23.007 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XN: unary operator expected at 
2000-06-29-15:11:23.015 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: X: unary operator expected at 
2000-06-29-15:11:23.023 ## identifier=root@xsmtl2+604 number=604 process=5607
BANNER: /usr/libexec/filters/pclbanner: test: XU: unary operator expected at 
2000-06-29-15:11:23.031 ## identifier=root@xsmtl2+604 number=604 process=5607
processing 'dfA604xsmtl2.cn.ca', size 208, format 'f', IF filter 'ifhp' at 
2000-06-29-15:11:23.172 ## identifier=root@xsmtl2+604 number=604 process=5607
IF filter 'ifhp' filter finished at 2000-06-29-15:11:23.322 ## 
identifier=root@xsmtl2+604 number=604 process=5607
printing finished at 2000-06-29-15:11:23.322 ## identifier=root@xsmtl2+604 number=604 
process=5607
accounting at end at 2000-06-29-15:11:23.677 ## identifier=root@xsmtl2+604 number=604 
process=5607
finished 'root@xsmtl2+604', status 'JSUCC' at 2000-06-29-15:11:23.678 ## 
identifier=root@xsmtl2+604 number=604 process=5607
subserver pid 5607 exit status 'JSUCC' at 2000-06-29-15:11:23.679 ## identifier=<NULL> 
number=0 process=5606
[EMAIL PROTECTED]: job 'root@xsmtl2+604' printed at 2000-06-29-15:11:23.680 ## 
identifier=root@xsmtl2+604 number=604 process=5606
job 'root@xsmtl2+604' removed at 2000-06-29-15:11:23.681 ## identifier=root@xsmtl2+604 
number=604 process=5606

Reply via email to