[PLUG] LPRng doesn't work on local printer.

Anthony Schlemmer aschlemm at attbi.com
Sat Nov 2 03:21:23 UTC 2002


Well I thought I had printing working with CUPS but one thing I'm
finding painful is the fact that CUPS doesn't support a simple (no
filter) forward to a remote printer queue. One remote printer server I
have to deal runs "apsfilter" and so it's smart enough to know how to
convert PostScript to something the PCL-based HP laser printer connected
to the server can handle.

I tried setting up CUPS to filter and produce the proper output but I
find on the remote printer I then gets an extra one inch of top margin
on every page printed and I also get two empty pages which preceed every 
print job I send from my Linux box.

I removed CUPS and the only other option that SuSE 8.1 offers is the use 
of LPRng. This solved all of my remote problems expect now I can't get 
my locally connected inkjet printer to work at all. I keep seeing the
following messages from "lpr" and my syslog is filled with "connection
refused" errors:

Nov  1 17:41:57 tigger lpd[9643]: connection refused from unknown
Nov  1 17:43:25 tigger lpd[9889]: connection refused from unknown
Nov  1 17:43:37 tigger last message repeated 2 times
Nov  1 17:46:16 tigger lpd[9889]: connection refused from unknown
Nov  1 17:48:57 tigger lpd[10296]: connection refused from unknown
Nov  1 17:49:29 tigger lpd[10391]: connection refused from unknown
Nov  1 17:51:54 tigger lpd[10519]: connection refused from unknown
Nov  1 17:52:12 tigger lpd[10619]: connection refused from unknown
Nov  1 17:52:45 tigger lpd[10915]: connection refused from unknown
Nov  1 17:53:30 tigger lpd[10915]: connection refused from unknown
Nov  1 17:54:33 tigger last message repeated 7 times

When I try to print something to th local printer I get the following
errors from "lpr":

tigger:/usr/sbin # cat /etc/hosts | lpr -Poptra
Status Information:
 sending job 'root at tigger+997' to optra at localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer optra at localhost
 job 'root at tigger+997' transfer to optra at localhost failed
  error 'ERROR TRANSFERRING DATA'
  sending str '^Boptra' to optra at localhost
tigger:/usr/sbin #

Can anyone help? I don't see that "lpd" is actively listening to port
515 which is what I used to see when I was using a BSD-style LPD
process. "lpd" is running and I get a completely different error asking 
me to check that "lpd" is running. I'm at wits end as to why any LPRng 
client programs are unable to transfer any data.

Thanks,

Tony

--
Anthony Schlemmer
aschlemm at attbi.com

_______________________________________________
Taclug-General mailing list
Taclug-General at taclug.org
http://www.taclug.org/mailman/listinfo/taclug-general

-------------------------------------------------------

-- 
Anthony Schlemmer
aschlemm at attbi.com






More information about the PLUG mailing list