Hi Glen,

as a default 'force_localhost' is 'on' (if you did not specify it
otherwise at compile time)

You can disable the local spooling by setting

#   default force_localhost  (FLAG on)
force_localhost@

in the lpd.conf file, or you can as well put 'force_localhost@' in every
queue definition in your printcap...


take care
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


On Fri, 15 Nov 2002, Glen Davison wrote:

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

Reply via email to