On Wed, 2003-09-24 at 14:58, David Fetrow wrote

When the nbname of the printer is in the cm line the pap tries to
connect comment name rather that the nbname of the printer.  I can not
use :lp=| -$ /usr/bin/pap -e -p "psnt2:[EMAIL PROTECTED]" since
lpd will split the printer name on two lines and pap will fail.  If I
escape the : with \: then lpd will pass pap the name with the escape
sequence.  

Printer: [EMAIL PROTECTED] 'ap_87_prospect_psnt2'
 Queue: 1 printable job
 Server: pid 17259 active
 Unspooler: pid 17263 active
 Status: subserver pid 17260 starting at 12:33:41.499
 Status: accounting at start at 12:33:41.499
 Status: opening device '| -$ /usr/bin/pap -e -p "ap_87_prospect_psnt2"'
at 12:33:41.499
 Status: waiting for subserver to exit at 12:33:41.505
 Status: printing job '[EMAIL PROTECTED]' at 12:33:41.506
 Status: processing 'dfA257printserve2.Princeton.EDU', size 331005,
format 'f', IF filter 'ifhp' at 12:33:41.507
 Status: IF filter 'ifhp' filter msg - 'ifhp 12:33:47.595 [17262]
Send_job: job failed during copy - Connection reset by peer' at
12:33:47.595
 Status: IF filter 'ifhp' filter exit status 'JFAIL' at 12:33:47.596
 Status: printing finished at 12:33:47.596
 Status: LP filter msg - 'ap_87_prospect_psnt2:[EMAIL PROTECTED]: NBP Lookup
failed' at 12:33:47.596
 Status: waiting for printer filter to exit at 12:33:47.596
 Status: accounting at end at 12:33:47.596
 Status: finished '[EMAIL PROTECTED]', status 'JFAIL' at
12:33:47.596
 Status: job '[EMAIL PROTECTED]' attempt 1, trying indefinitely at
12:33:47.601


>  Here is a working printcap. You don't usually need to
>  include all that extra info...unless of course you do.
> 
>  In our case we route the appletalk around  encapsulated
>  in IP and route the IP. Simplifies this kind of thing a
>  lot but something of a pain to set up.
> 
> old800
>         :cm=old800:Room 333:Apple LW 810, 600dpi, PostScript, FAX
>         :lp=| -$ /usr/bin/pap -e -p "old800"
>         :ifhp=model=ps,status@
>         :tc=.common
> 
> ------------------------------------------------------------
> -David Fetrow
> 
> 
> On Wed, 24 Sep 2003, Robert Fausey wrote:
> 
> > RedHat 9, LPRng 3.8.21, ifhp 3.5.10 with the following printcap
> >
> >
> > ap_87_prospect_psnt2|ap_psnt2
> >  :filter=/var/local/LPRng/libexec/filters/ifhp
> >  :ifhp=model=ps,status@
> >  :lp=| -$ /usr/bin/pap -p "psnt2\:[EMAIL PROTECTED]"
> >  :sd=/var/local/LPRng/spool/lpd/%P
> 
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
-- 

Rob Fausey.

One Database to rule them, One Database to find them, 
          and in the SQL madness Bind them



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