On Tue, 2003-09-30 at 18:34, Patrick Powell wrote: The problem seems to be lpd is sending the nbname with the colon to pap and pap fails to connect to the printer.
$ lpq -Pap_87_prospect_psnt2 Printer: [EMAIL PROTECTED] 'ap_psnt2' (dest | -$ /usr/bin/pap -p "psnt2\:[EMAIL PROTECTED]") Queue: 1 printable job Server: pid 21747 active Unspooler: pid 21748 active Status: sleeping 60 secs before retry, starting sleep at 09:40:39.026 Filter_status: done at 09:30:24.775 Rank Owner/ID Class Job Files Size Time stalled(626sec) [EMAIL PROTECTED] A 745 netscape.ps 331005 09:30:24 Printer '| -$ /usr/bin/pap -p "psnt2\:[EMAIL PROTECTED]"' - cannot open connection - bad or missing hostname > > 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. > ----------------------------------------------------------------------------- -- 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. -----------------------------------------------------------------------------
