Sorry for the long delay - we had start of classes happen, but I've
finally come back to this problem.

After trying to print, here's what I get.  (Note this is with a
different printer - printcap entry follows)

# lpq -L -P eva
Printer: eva@egr-fac-fs 'B377' (dest [EMAIL PROTECTED])
 Queue: no printable jobs in queue
 Status: waiting for subserver to exit at 08:04:07.348
 Status: creating banner at 08:04:07.406
 Status: Filter_file: pgm '/usr/local/libexec/filters/psbanner' exited
with status 'JSUCC' at 08:04:07.848
 Status: processing 'dfA174blargh', size 8272, format 'f', IF filter
'ifhp' at 08:04:07.858
 Status: IF filter 'ifhp' filter finished at 08:04:07.921
 Status: subserver pid 23770 died with signal 'Segmentation Fault' at
08:04:07.923
 Status: job 'cfA174blargh' error 'aborting operations' at 08:04:07.924
 Status: removing job 'cfA174blargh' - ABORT at 08:04:07.965
 Filter_status: using model 'ps' at 08:04:07.910
 Filter_status: setting up printer at 08:04:07.916
 Filter_status: pagecounter 0 at 08:04:07.916
 Filter_status: sending job file at 08:04:07.916
 Filter_status: starting transfer at 08:04:07.916
 Filter_status: initial job type 'POSTSCRIPT' at 08:04:07.917
 Filter_status: decoded job type 'POSTSCRIPT' at 08:04:07.917
 Filter_status: job type 'POSTSCRIPT' at 08:04:07.917
 Filter_status: transferring 8272 bytes at 08:04:07.918
 Filter_status: 100 percent done at 08:04:07.918
 Filter_status: data sent at 08:04:07.918
 Filter_status: sent job file at 08:04:07.918
 Filter_status: pagecounter 0, pages 0 at 08:04:07.919
 Filter_status: done at 08:04:07.919
no entries

eva|Eva|b377|B377
        :rp=PASSTHRU
        :rm=b377.egr.unlv.edu
        :lf=/var/log/lpd/eva.errs
        :sd=/var/spool/lpd/eva
        :ifhp=model=ps,pagecount,sync
        :bp=/usr/local/libexec/filters/psbanner
        :bs=/usr/local/libexec/filters/psbanner
        :if=/usr/local/libexec/filters/ifhp
        :generate_banner
        :af=/var/log/lpd/eva.acct

User Papowell wrote:
> 
> > From [EMAIL PROTECTED] Fri Aug 24 05:15:36 2001
> > Date: Wed, 22 Aug 2001 19:53:51 -0700
> > From: Andrew Gray <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: LPRng: LPD subprocess dies with segmentation fault under Solaris 8 and 
>banner
> >  printing
> >
> > I am having a heck of a time getting LPRng to work generating banner
> > pages under Solaris 8.
> >
> > System information:
> > LPRng 3.7.4 and 3.7.5 tried, downloaded from astart.com
> > IFHP 3.4.4
> > uname: SunOS XXXXXX 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-4
> > Hardware: Sun Enterprise 450, 4x450 procs, 4G RAM
> > Destination printer: Networked HP Laserjet 4050TN
> >
> > First off, my printcap file:
> >
> > yucca|Yucca
> >       :rp=raw
> >       :rm=XXXXX.XX.unlv.edu
> >       :lf=/var/log/lpd/yucca.errs
> >       :sd=/var/spool/lpd/yucca
> >       :bp=/usr/bin/bannerpage
> >       :of=/usr/local/libexec/filters/ifhp
> >       :filter=/usr/local/libexec/filters/ifhp
> >       :af=XXXXX%XXX
> >       :achk
> >       :generate_banner
> >
> > Without generate_banner, everything works correctly, except no banner
> > page.  With generate_banner, and lpd running in -D10, I get the
> > following interesting lines in the log file:
> > ...
> > 2001-08-22-19:30:01.748 egr-stu-fs [24513] (Worker - Remote)  yucca:
> > Find_last_key: cmp -117, top 18, mid 19, bot 18
> > 2001-08-22-19:30:01.748 egr-stu-fs [24513] (Worker - Remote)  yucca:
> ...
> 
> Try using lpq -L to get full dump of status.
> 
> Patrick
> 
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------

-- 
Andrew Gray
Systems Administrator
University of Nevada, Las Vegas - College of Engineering

-----------------------------------------------------------------------------
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