lpstyl is a Non-MacOS StyleWriter driver.

Godzil 567a4e944f Add travis badge in the readme file 7 роки тому
scripts b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
.gitignore 552a4c73e9 adsp.c does not need to be compiled with atalk support is not build, add a travis file, correct a code bug that prevented to compile on recent compiler 7 роки тому
.travis.yml 552a4c73e9 adsp.c does not need to be compiled with atalk support is not build, add a travis file, correct a code bug that prevented to compile on recent compiler 7 роки тому
CMakeLists.txt 1449f1e2d7 Travis provide cmake 2.8 by default 7 роки тому
LICENSE 328d9b363f Extract license from lpstyl.c and add in proper LICENSE file 7 роки тому
Makefile.atalk b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
README.atalk b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
README.md 567a4e944f Add travis badge in the readme file 7 роки тому
README.protocol b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
README.troubleshooting b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
adsp.c b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
adsp.h b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
lpstyl.c 552a4c73e9 adsp.c does not need to be compiled with atalk support is not build, add a travis file, correct a code bug that prevented to compile on recent compiler 7 роки тому
printcap b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
printcap.a4 b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому
styl.ppd b0c8b04bda First commit with original version 0.9.9 retrieved from https://web-beta.archive.org/web/20120507043647/http://homepage.mac.com/monroe/styl/ 7 роки тому

README.atalk

Using lpstyl over AppleTalk
---------------------------

Verison 0.9.9 of lpstyl contains preliminary support for StyleWriters
connected to Ethernet with an "Apple StyleWriter Ethertalk Adapter".
(Apple part number M4877.) This has only been tested with a
StyleWriter 2400 and a 68k machine running NetBSD. I'd be interested
in the results people with other printer types and/or little-endian
machines get with this code.

I'd also like to find out whether this code will work with the
"Farallon EtherMac iPrint Adapter SL", which is another device that
performs a similar if not identical function and looks very similar
to the Apple device (appears to be the same plastics), but is still
in production. (I'm pretty sure the Apple device has been
discontinued.) If you try this code out with one of these things,
_please_ let me know what happens.

You'll have to do a number of things to set this up:

1) Make sure netatalk is installed on your machine and compiled into the
kernel.

2) Make sure your machine is set up to communicate over AppleTalk. This
is a bit complex, and full instructions are included with the
netatalk package. atalkd should be running, 'ifconfig -a' should
show an AppleTalk address bound to your Ethernet interface(s),
and 'netstat -r' should show some AppleTalk routes.

3) Find out where the atalk headers and libraries are installed.
(The included makefile assumes they are in
/usr/local/include/atalk/ and /usr/local/lib, respectively.)

4) Set up your printer and Ethernet adapter, and attach them to the
network. You may want to use the MacOS driver to set the name
of the printer to something reasonable. In the examples here,
the printer is a StyleWriter 2400 with the name "PaperShredder".

5) Find out your printer's nbp name. This can be done with the
netatalk tool 'nbplkup'. It will give you a number of lines of
output, one of which contains the name you gave your printer.
On my system, this line is:

PaperShredder:ColorStyleWriter2400AT 65280.1:129

6) Compile and install a version of lpstyl with AppleTalk support.
The easiest way to do this is to use the Makefile.atalk included
with the package. Copy it to 'Makefile' and do 'make lpstyl'.

Note that a version compiled with AppleTalk support will still be
able to print to serial connections.

7) Install lpstyl and the driver scripts as usual. Modify the printcap
entry you want to use so that it points to one of the *-atalk scripts,
and change the name of the AppleTalk device in that script to
the name you retrieved in step 5.

That should be it. Try printing something. If it doesn't work, add
'-vvvvv' to the lpstyl invocation in the script you're using and examine
the results in lpd-errs. If they're not self-explanatory, send me mail
and we'll try and figure it out.

-- Monroe Williams a.k.a. monroe@pobox.com --
Copyright 1996-2000 Monroe Williams, all rights reserved.