hi,

well you have to do 'checkpc -f printcap' as root in order to create the appropriate
spooldirectories. I think the 'force_local_host' should be the default, you can look 
that
up in your lpd.conf file...

regards Christoph





Lach Dunlop schrieb:

> Christoph,
>
> Ok this is how I got it to work.
>
> :[EMAIL PROTECTED] changed to :rm=206.196.40.60:rp=raw
>
> and I added :force_localhost to my printcap
>
> now it works.  Do these additions mean I have a system configuration
> problem?
>
> When I have the :lp in my printcap this was the error that resulted:
>
> job 'lach@nessy+219' transfer to raw@localhost failed
>   error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
>   sending str '^Braw' to raw@localhost
>  error msg: 'spool queue for 'raw' does not exist on server
> nessy.lach.net'
>  error msg: '   non-existent printer or you need to run 'checkpc -f''
>
> checkpc -fV checksout no problems found.
>
> Thanks
>
> Lach
>
> On Thu, 30 Nov 2000, Christoph Beyer wrote:
>
> > hmm,
> >
> > what says the lpd when you kill it and start it in the foreground
> > (.../lpd -F)
> >
> > Maybe you should add the 'force_localhot' option in the printcap as
> > well...
> >
> > Christoph
> >
> >
> >
> >
> > Lach Dunlop schrieb:
> > >
> > > Christoph,
> > >
> > > lpq -L -Plp gives Printer: lp is [EMAIL PROTECTED]
> > >
> > > lpc reread  gives a graphics character and never returns a prompt untill a
> > > Control-C.
> > >
> > > THanks
> > >
> > > lach
> > >
> > >
> > > On Thu, 30 Nov 2000, Christoph Beyer wrote:
> > >
> > > > hi,
> > > >
> > > > are you sure the lpd daemon did recognize your changes in the printcap ?
> > > >
> > > > Try a 'lpc reread'
> > > >
> > > > What does lpq -L -Plp say ?
> > > >
> > > > regards Christoph
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > lachlan Dunlop schrieb:
> > > > >
> > > > > Hello,
> > > > >
> > > > > I have SuSE 7.0, I have installed LPRng 3.7.1, IFHP 3.4.3, HP4050TN
> > > > > printer But if I do a simple lpr command the filter never gets executed.
> > > > >
> > > > > /etc/printcap
> > > > > lp
> > > > > :lpd_bounce
> > > > > :sd=/var/spool/lpd/lp
> > > > > :[EMAIL PROTECTED]
> > > > > :ifhp=model=hp4000,status@
> > > > > :filter=/usr/libexec/filters/ifhp
> > > > >
> > > > > the command I am executing:  lpr -P lp -Z duplex /etc/hosts
> > > > >
> > > > > This file has the stair step problem and is not duplexed!!
> > > > >
> > > > > If I execute:
> > > > >
> > > > > /usr/libexec/filters/ifhp -Z duplex
> > > > > -Tdev=/tmp/t,model=hp4000,config=/etc/ifhp.conf,trace,debug=1,status@ <
> > > > > /home/lach/new-raid.ps 2>/tmp/trace
> > > > >
> > > > > then
> > > > >
> > > > > lpr -P [EMAIL PROTECTED] /tmp/t
> > > > >
> > > > > It works fine!!
> > > > >
> > > > > How do I figure out why when I do it via lpd it fails??
> > > > >
> > > > > Thanks
> > > > >
> > > > > Lach
> > > > >
> > > > > -----------------------------------------------------------------------------
> > > > > 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.
> > > > > -----------------------------------------------------------------------------
> > > >
> > > > --
> > > > /*   Christoph Beyer     |   Office: Building 2b / 23     *\
> > > >  *   DESY                |    Phone: 040-8998-2317         *
> > > >  *   - IT -              |      Fax: 040-8998-4060         *
> > > > \*   22603 Hamburg       |     http://www.desy.de         */
> > > >
> > > > -----------------------------------------------------------------------------
> > > > 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.
> > > -----------------------------------------------------------------------------
> >
> > --
> > /*   Christoph Beyer     |   Office: Building 2b / 23     *\
> >  *   DESY                |    Phone: 040-8998-2317         *
> >  *   - IT -              |      Fax: 040-8998-4060         *
> > \*   22603 Hamburg       |     http://www.desy.de         */
> >
> > -----------------------------------------------------------------------------
> > 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.
> -----------------------------------------------------------------------------


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