This is for Mac OS X users.

This package include a terminal version (ttink) and a graphical
user interface mtink, which require the X11 system and the
openMotif or Lesstif package.

Only USB printers are supported.


Requirements:
-------------
In order to compile mtink and ttink you need the libusb package
which can be found at sourceforge.net, the necessary development
package for you Mac OS X system which can be downloaded from
the apple site or installed from your DVD (xcode) and the
openmotif package which can be downloaded from 
http://www.ist.co.uk/DOWNLOADS/motif_download.html

XCode / X11 SDK:
----------------
The required X11 packages are located on the DVD under:
X11 runtime    : /System/Installation/Packages/X11User.pkg
X11 development: /Xcode Tools/Packages/X11SDK.pkg

Libusb:
-------
For the libusb, you can download it from the fink project.
First dowload fink at http://fink.sourceforge.net and
install this package.
From a terminal call: "fink install libusb"



OpenMotif:
----------

OpenMotif is delivered as *.dmg file and contain a *.pkg file
which do all necessary works if clicked.


Mtink/Ttink Configuration:
--------------------------
call "./Configure -x -p /sw"

This will generate the Makefile necessary for compiling the
terminal application ttink.

or "./Configure -p /sw"

The second command will generate the Makefile for producing of
the terminal based ttink as well as the GUI program mtink.

If openMotif or Lesstif is installed ./Configure shall no complain
and produce the wanted Makefile.


Compilation:
------------
if all was ok call "make"

Installation:
-------------
if all was ok call "sudo make install"

After this step you can call ttink from a terminal.
or launch mtink which is located under /sw/bin. The best way to
launch mtink will probably to insert it into the X11 Applications
menu.


Environment:
------------
The Apple I had was not OK concerning the language to use for
the programs. I solved the problems as follow:
create the file /Users/<yourLogin>/.bashrc and insert the
line:

export LANG=de_DE.UTF-8
export DISPLAY=:0

finally Save the file.
At the next login the enironment LANG will be set correctly.
The example above is for german. The supported languages are
Italian (it_IT.UTF-8), english, not need to do anythings,
French (fr_FR.UTF-8), Hungarian (hu_HU.UTF-8), turkish
(tr_TR.UTF8), danish (da_DA.UTF8),... . If your preferred language
is not known by ttink/mtink, the tools default to english.

You may also write a script which set the environment. This script
shall look as follow:
---------------------------------------------------
#!/bin/sh
export DISPLAY=:0
export LANG=de_DE.UTF-8
/sw/mtink "$@"
----------------------------------------------------
The file may be located under /sw/bin and be called mtink.sh
Please mmake shure that this file has the exeution rights:
chown 755 /sw/bin/mtink.sh


Jean-Jacques Sarton
jj.sarton@t-online.de
http://xwtools.automatix.de
 
