Put a :force_localhost@ in your printcap entry. --- Keith Rinaldo Systems Administrator College of Engineering University of Nevada, Las Vegas
----- Original Message ----- From: "Glen Davison" <[EMAIL PROTECTED]> To: "LPRng List" <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 11:05 PM Subject: LPRng: lpr without local lpd - printcap > > Dear LPRng Gurus, > > I understand that LPRng's lpr (as distributed on RedHat 7.x) should be able > to send jobs directly to a remote server without needing lpd running locally. > > It works with > > lpr -Pprlm@print file > > and with > > export PRINTER='prlm@print' > lpr file > > Should it work for > > lpr -Pprlm file > > with prlm defined as a remote queue in printcap? > > I always get this: > > Status Information: > sending job 'glen@haiku+764' to prlm@localhost > connecting to 'localhost', attempt 1 > cannot open connection to localhost - Connection refused > Make sure LPD server is running on the server > > I thought that lpr read the printcap file too, (ls -lu /etc/printcap in fact > shows that it does) but it seems to just send it to the LPD port on localhost > anyway. > > > Thanks > Glen > > -- > > Glen Davison [EMAIL PROTECTED] > Computer System Administrator phone: +61 2 9385 7018 > Maths, UNSW fax: +61 2 9385 7192 > > -------------------------------------------------------------------------- --- > 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. > -------------------------------------------------------------------------- --- > ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
