Printrun
Printrun is a set of G-code sending applications, written by Kliment. It consists of printcore (dumb G-code sender), pronsole (featured command line G-code sender), pronterface (featured G-code sender with graphical user interface), and a small collection of helpful scripts.
Contents
Installation
The latest pronterface is available from Kliment's github repository; the latest skeinforge from http://fabmetheus.crsndoo.com .
Linux
Before installing Printrun, make sure to install a few required libraries for both pronterface and skeinforge. On Ubuntu, open a terminal and type:
sudo apt-get install python python-serial python-wxgtk2.8 python-tk git-core
Now you should install pronterface first, then skeinforge inside your pronterface installation directory. The following dirty little script does that for you:
#! /bin/bash PRINTRUNDIR="$HOME/Printrun" SKEINFORGEDIR="$PRINTRUNDIR/skeinforge" cd $HOME echo "Removing existing Printrun directory..." rm -rf $PRINTRUNDIR echo "Cloning Printrun..." git clone https://github.com/kliment/Printrun.git echo "Grabbing skeinforge..." wget -P /tmp http://fabmetheus.crsndoo.com/files/41_reprap_python_beanshell.zip echo "Unzipping skeinforge into Printrun directory..." unzip -d $SKEINFORGEDIR /tmp/41_reprap_python_beanshell.zip echo "Symlinking skeinforge inside Printrun directory..." ln -s $SKEINFORGEDIR/* $PRINTRUNDIR/ echo "Cleaning up temporary installation files..." rm -rf /tmp/41_reprap_python_beanshell.zip
Ubuntu
There are experimental packages for ubuntu (maverick natty oneiric precise):
sudo apt-add-repository ppa:richi-paraeasy/ppa sudo apt-get update sudo apt-get install printrun-gui
Debian
There are experimental packages for Debian (squeeze wheezy):
sudo echo "deb http://apt.ulrichard.ch/ squeeze main contrib non-free" >> /etc/apt/sources.list sudo apt-get update sudo apt-get install printrun-gui
Windows
To make it work on Windows, get the following packages and install:
Or, use the ready-to-run version available at http://koti.kapsi.fi/~kliment/printrun/
Mac OSX
To make it work on OSX: (it's similar to linux in may ways, but different)
- see instructions for Lion, and pre-Lion here
Usage
With installation done, simply run the script, e.g.
python pronterface.py
You might also want to try:
python pronsole.py
a nice, unobtrusive command-line interface.
it features an online help function ("help" or "help <command>")
Troobleshooting
Good to know that the settings used by Pronterface are not stored in the app folder but in the user's folder (e.g : ~/.pronsolerc (linux) C:\Users\yourname (windows)).
'python pronterface.py error'
Got an error similar to this?
[~] python pronterface.py File "pronterface.py", line 15 print _("WX is not installed. This program requires WX to run.") ^ SyntaxError: invalid syntax
This can happen if you use a linux distribution such as Archlinux.
You can easily solve this by executing the following instead:
python2 pronterface.py
Custom buttons don't appear
See also :