> From [EMAIL PROTECTED] Wed Sep 24 11:50:08 2003 > Subject: LPRng: netatalk + ifhp > From: Robert Fausey <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Date: 24 Sep 2003 13:51:08 -0400 > > 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 > > > I have searched the mailing list archives with no luck. > lpq reports Printer '| -$ /usr/bin/pap -p > "psnt2\:[EMAIL PROTECTED]"' - cannot open connection - bad or > missing hostname > > which seems like pap does not like the \ BUT this is needed in the > printcap.
This is the deadly 'is the lp for the server or client? Try: ap_87_prospect_psnt2|ap_psnt2:client:[EMAIL PROTECTED] ap_87_prospect_psnt2|ap_psnt2:server :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 OR if you are on the same system as the print spooler: ap_87_prospect_psnt2|ap_psnt2:force_localhost :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 Note: the quotes are not really necessary around the printer name: :lp=| -$ /usr/bin/pap -p psnt2\:[EMAIL PROTECTED] Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
