Thanks. I'd tried that earlier and it wrote the following:
Code:
papd: Set syslog logging to level: debug
papd: restart (4.2.0dev)
papd: CUPS support enabled (2.4)
Bad termcap entry
Bad papcap entry
The error "bad termcap entry" shows up in many searches relating to things other than PAPD. The phrase "bad papcap entry" links to just two comments on an old distribution list talking about netatalk and papd.
EDIT: OH MY GOD I FIGURED IT OUT.
There was an unseen "tab" character on what I thought was a blank line.
Apparently,
papd
strictly interprets this as part of a configuration command. Geez... I wonder if
See screenshot below.
(note: the previews might not work, but clicking the image will reveal it full size)
Once the offending tab was removed, the service started correctly, and other misconfiguration became crystal clear. I was able to get this working less than 5 minutes later. Since I had previously
enable
d the
netatalk
and
papd
services using
systemctl
, they both started automatically after rebooting the Raspberry Pi.
Update: and I have successfully printed a letterhead from "The Print Shop" on my Macintosh SE via LocalTalk PhoneNET adapters!
Here is the configuration that ultimately worked for me. I commented out the cups auto-add in order to define the printer with a custom name. "pr" appears to expect the short name of the CUPS queue. In my case, I named it "brother-hl-l2380dw."
Code:
~$ cat /etc/netatalk/papd.conf
# PAP print server daemon configuration (Netatalk 4.x)
#
# See the `papd.conf' manual page for examples.
# Uncomment the following line to share all CUPS enabled printers.
#cupsautoadd@68kradio.ddns.net:op=root:
O Brother Where Art Thou:\
:pr=brother-hl-l2380dw:\
:pd=/etc/cups/ppd/brother-hl-l2380dw.ppd:\
:op=root:
Sometimes I wish documentation made this a little clearer in the examples (For instance: who
actually calls their printer queue name "
ps" ? This is easily confused with "postscript").