plot_nao uses the
printer extension.
The following instructions explain how to install these three extensions with Tcl/Tk.
.zip file matching your version of Tcl and
unzip it into directory lib.
(There are instructions in file printer/install.txt.)
For unix, select the link labelled Unix, giving file
printUnix.tar.gz and
unpack it into directory lib using a command such as
zcat printUnix.tar.gz | tar -xvf -
| Operating System | Processor |
|---|---|
| Irix 64 | SGI MIPS |
| Linux | Intel 386 |
| SunOS 5.8 | Sun sparc |
| Windows | Intel 386 |
(There is also a source file for those who want to access the source without using CVS.)
All these files have the extension .tgz, which means they were created using
tar, then compressed using gzip.
They can be directly unpacked using many recent versions of tar
and Windows programs such as WinZip.
Unix users can also use:
zcat nap*src.tgz | tar -xvf -
You should unpack into the Tcl root directory (parent of
bin
and
lib).
It is convenient to include the following
package require nap
namespace import ::NAP::*
in your startup file,
which is normally stored in your home directory with the following name:
| Operating System | tclsh | wish | tkcon |
|---|---|---|---|
| Windows | tclshrc.tcl
| wishrc.tcl
| tkcon.cfg
|
| Unix | .tclshrc
| .wishrc
| .tkconrc
|