On Mon, 22 Jun 2009, Craig Small wrote:
On Fri, Jun 19, 2009 at 10:17:59AM -0400, Justin Piszcz wrote:I have my logs set to wrap after 5m and I only keep 3 copies, but this is pretty nasty, it continually runs lookups until lpd is killed and started again:It's also a little unusual, I wonder why it keeps doing this. Your urls give me a 404 too. So, what configuration changes have you made to lprng? I'm looking for the printcap and the lpd.conf changes specifically. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 http://www.enc.com.au/ csmall at : enc.com.au http://www.debian.org/ Debian GNU/Linux, software should be Free
Hello,
My printcap has been the same for the past 3-5 years, its not something
I ever changed once I got it working:
$ cat /etc/printcap |grep -v ^#
.common:
:sd=/var/spool/lpd/%P
:sh:mx=0:mc=0
hp:\
# Printer log file.
:lf=%P.log:\
# The minimum number of lines required to print.
:ml=0:\
# Maximum job size.
:mx=0:\
# Maximum number of copies.
:mc=0:\
# Spool queue directory for temporary storage of print jobs.
:sd=/var/spool/lpd/%P:\
# Supress banners and headers.
:sh:\
# Spool queue accounting file.
:af=%P.acct:\
# Setup where we want to print to.
:tc=.common:lp=192.168.168.250%9100:\
#:tc=.common:hp=192.168.168.254%515:\
#:lp=hp@192.168.168.254:\ works
#:tc=.common:lp=hp@192.168.168.254:\
# Setup the filter we want to use.
:filter=/usr/lib/ifhp/ifhp:\
# Specify the ifhp configuration options.
:ifhp=model=hp2200,status,sync,pagecount,waitend:
# Specify page options.
:prefix_z=600,duplex,letter:
Justin.