hi,

reenable the force_localhost in the lpd.conf and change the printcap
entry

:[EMAIL PROTECTED] to

:[EMAIL PROTECTED]

this is usually the listening port of the lpd on HP printers

make an lpc reread and everything should run fine :-)


regards

                ~christoph





[EMAIL PROTECTED] schrieb:
> 
> I compiled lprng using:
> 
> ./configure --disable-gdbm --prefix=/usr --sysconfdir=/etc
> 
> It compiled successfully, I installed it, and began running through
> the printcap tutorial.
> I am setting up what I suspect is becoming the norm in many
> large organizations, several printers that are directly attached to
> the network, running their own lpd emulators.
> 
> I created the following:
> 
> pq_grunts
>      :sd=/var/spool/lpd/%P
>      :[EMAIL PROTECTED]
>      :filter=/usr/local/libexec/filters/ifhp
>      :ifhp=model=hp4l
> pq_management
>      :[EMAIL PROTECTED]
>      :sd=/var/spool/lpd/%P
>      :filter=/usr/local/libexec/filters/ifhp
>      :ifhp=model=hp4l
> 
> But LPRNG complained that the queue "lp" was undefined.  Presuming
> that it wanted a default queue, I added an entry for lp that was:
> lp
>         :sd=/var/spool/lpd/%P
>         :lp=pq_grunts@localhost
> 
> This quieted any errors, but printouts to management (or any other printer)
> went to pq_grunts.  I then read up on the force_localhost issue, and decided
> that I needed to recompile with:
> 
> ./configure --disable-gdbm --prefix=/usr --sysconfdir=/etc --disable-force_localhost
> 
> It compiled and installed successfully, but whenever I run lpq, it only
> prints a "y"
> with an umlaut. Which, if I remember from my C days, is the character-ized
> output if you try to use what's returned if you read past EOF.  In any
> event,
> What am I doing that could cause this, and what's the easiest way to set up
> what
> I'm shooting for?
> 
> Any pointers would be appreciated.
> 
> jk
> 
> -----------------------------------------------------------------------------
> 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.
-----------------------------------------------------------------------------

Reply via email to