lprng: remote printing
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:lp=%P@ptoohey:client
6tp4s65hp-dup:lp=%P@steve:client
6tp4s65qms:lp=%P@ptoohey: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 -P6tp4s65hp@ptoohey 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 'psmith@llama+722' to 6tp4s65hp@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer 6tp4s65hp@localhost
job 'psmith@llama+722' transfer to 6tp4s65hp@localhost failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
sending str '^Bprinter to 6tp4s65hp@localhost
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 <psmith@baynetworks.com> 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 to: