Subject: Re: Printcap problem...
From: Moritz Kaiser (ariser@fs.tum.de)
Date: Thu May 25 2000 - 07:28:08 EDT
On Thu, 25 May 2000, Tom Watson wrote:
> I thought it would be simple. Just setup a pap server and have it spool
> out to the LPR queue. It isn't that easy...
>
> >From the file '/var/log/lpr.log' (written by papd):
> (all with machine ID and papd process id number)
> ...: restart (1.4b2+asun2.0a18.2)
> ...: No such printer: lp
> ...: printcap problem: lp
> ...: register dr-bond:EpsonLQ2@*
> ...: unregister dr-bond:EpsonLQ2@*
>
> (The last message promptefd after a kill of the papd process)
>
There are some syntax errors in your papd.conf
> I thought it would be simple because my files are pretty simple:
> File '/etc/netatalk/papd.conf':
> # Test Printer:pr=test:
>
> \:EpsonLQ2:op=tsw:pr=lp:
Why that backslash at the beginning of the line??? You will need it at the
end of a line, if the printer definition continues within the next line.
Also some versions of papd don't like more than one information per line.
The best version would be:
8<-------------------------*snip*
# Endless comments.
EpsonLQ2:\
:op=tsw:\
:pr=lp:
8<-------------------------*snip*
mfg,
Moritz Kaiser
__________________________________________________________
Moritz Kaiser
Studentische Vertretung, Technische Universitaet Muenchen
Europe / Germany
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:47 EST