Re: [netatalk-admins] Talking to HP Deckjet printer


Subject: Re: [netatalk-admins] Talking to HP Deckjet printer
From: Palle Girgensohn (girgen@partitur.se)
Date: Sun Dec 28 1997 - 21:29:56 EST


Hi,

It should be possible to connect the printer to linux via the parallell
port and let netatalk hand it out on AppleTalk. One can either share it
as a postscript printer (LaserWriter) and use ghostscript to generate HP
PCL, or (this is what I want, but never had time to set up) you should
be able to share it as a HP DeskJet 850C by setting the right "type" in
AppleTalk. See this example:

> npblkup
...
                        Not:SNMP Agent
65281.129:8
                        Not:LaserWriter
65281.129:158
                        Not:LaserJet 4
65281.129:158
...

My printer (a HP LaserJet 4, w/ ethernet and postscript built-in) is
called Not. It presents itself as a LaserWriter, and as a LaserJet 4.
The mac knows this printer is a Postscript printer and talks postscript
with it.

Now, the mac chooser drivers for the deskjet has a serial version and an
AppleTalk version. This doesn't have to be LocalTalk, just as long as
the protocol is AppleTalk. The Chooser driver doesn't care about the
cable type. Ethernet is fine. So, it should somehow be possible to
"cheat" the mac that your deskjet is on your AppleTalk network. My guess
is that it's enough to set the correct name, but I haven't tried it. If
you are willing to inestigate it further, try checking how the printer
presents itself in AppleTalk, for example by using a "mac version" oc
nbplkup, LanSatellite (available from info-mac i.e.
ftp://ftp.sunet.se/pub/mac/info-mac/

Also, I'm pretty sure some of out there in this list have this setup
running? Please let us know.

Regards,
palle

Bill Studenmund wrote:
>
> On Mon, 29 Dec 1997, Frank Crawford wrote:
>
> > I'm running Netatalk 1.4b2 on Linux 2.0.33 (bits) talking to a PowerMac
> > (jc) running MacOS 8, printing from the Mac to Linux and file sharing
> > works okay, but I can't seem to print from the Linux box to the printer
> > connected to the Mac. The printer is a HP DeskJet 850C, connected to
> > the printer/appletalk port and running the latest HP Deskjet 8000
> > Printer Driver. It works fine from the Mac.
> >
> > It appears that the HP driver doesn't support PAP or any other network
> > accesses on the Mac.
>
> DeskWriters connect either directly, as you seem to be doing, or via
> LocalTalk. If you are using a serial cable to the mac, then the printer is
> in direct-connect mode. It won't support PAP in this case.
>
> So your choices are either to run LocalTalk, or to run a program on the
> mac to make the printer visable on the net. You mentioned lpdaemon (sp?).
> Try playing with it. Though be careful if the program talks directly to
> the printer, as it's not a postscript printer. You'll need to run
> Ghostscript somewhere if you want to print Postscript to it.
>
> Take care,
>
> Bill



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:28:32 EST