Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 18:04:42 +0100
From:      Adam Nealis <adamn@criterion.canon.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Q: CAP60 - doesn't appear to work correctly. NETATALK confusion - can it do what CAP60 can?
Message-ID:  <35B61BAA.AC07186A@csl.com>

next in thread | raw e-mail | index | archive | help
OS: FreeBSD/i386 2.2.5-STABLE plus bits via cvsup.

In my kernel config file I have added

option    NETATALK

pseudo-device    bpfilter    16

Aim: Implement CAP or netatalk so I can print direct to some aging
printers (a Canon LBP-1260 and an HP LJ 4Si) using Ethertalk Phase 2. Do
this by having a central UNIX lp spooler, that bungs jobs down the wire
to individual, networked, "LaserWriters". In effect, I want to do what
is described in the cap60/doc/print.cookbook example.

Why: The NICs in these printers don't have LPD in 'em, but they do
understand ETALK Phase 2. Currently CAP is implemented on a SPARC 2
running SunOS 4.1.3_U1, and I want to decommission it (maintenance bills
are too high and print serving is all it's doing right now).

CAP60 so far:
I know it will, in principle, do what I want it to do. I understand how
to sort /etc/printcap to get it to work too. But...

I've built CAP60 at Patch 198 successfully, and have /dev/MAKEDEVd
enough /dev/bpf??s (i.e. 16) to start aarpd and atis OK. However, when
I compare atlook or atlooklws between the SunOS and the FreeBSD builds,
the FreeBSD build is quite different. Basically I can't see anything
like the number of nodes under FreeBSD (16 nodes) as under SunOS (60
nodes).

As a sanity check, I quickly built CAP60 on another FreeBSD box with a
far lessed mangled system software maintenance history. Same result as
with my first FreeBSD box (this second box hasn't got NETATALK in the
kernel config though).

Netatalk so far:
I don't know if it will do what I want. The pkg_info page implies it
will, but there is a dearth of docs related to configuring for printing,
where the printer is remote. The examples I have found seem to imply
that netatalk will not ouput jobs spooled to lpd(8).

Does someone have an example of

/etc/printcap
and - or
/etc/papd.conf

that describe how a job can be accepted via lpd(8) and delivered to the
networked printer via PAP?

I hope that makes sense!

Cheers,
Adam.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35B61BAA.AC07186A>