I haven't been able to contact the lprng folks (my mail was never posted
to their mailing list, according to the archive, and I can't seem to
subscribe due to mail address issues), so maybe someone here has an idea.

I'm using Debian 2.2 + some woody, with lprng 3.6.24-2.

I have a bunch of networked printers available (no local printers).  So,
I created entries like this in /etc/printcap:

  6tp4s65hp:[EMAIL PROTECTED]:client

  6tp4s65hp-dup:[EMAIL PROTECTED]:client

  6tp4s65qms:[EMAIL PROTECTED]:client

(don't ask me, I didn't name 'em :).  If I print to one of these
printers using an extended printer name from the command line, like:

  $ lpr [EMAIL PROTECTED] somefile

it works great.

But if I just use "lpr somefile", the /etc/printcap entries (which, to
me, seem identical) don't work:

  $ lpr somefile
  Status Information:
   sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
   connecting to 'localhost', attempt 1
   connected to 'localhost'
   requesting printer [EMAIL PROTECTED]
   job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed
    error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
    sending str '^Bprinter to [EMAIL PROTECTED]
   error msg: 'spool queue for '6tp4s65hp' does not exist on server 
llama.engeast.baynetworks.com'
   error msg: '   non-existent printer or you need to run 'checkpc -f''

It's always treating the printer as if it were local.  "checkpc" gives
no errors.

I know it's using /etc/printcap because if I switch the order of the
printers I get the new first one in the error message.  Also, I've tried
replacing the %P with the real printer name, using the rm/rp syntax
instead of lp, etc.

I've looked at the Printing HOWTO and the lprng HOWTO, and they both
give examples pretty much identical to mine, so I don't see what I'm
doing wrong!

Thoughts?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

Reply via email to