I just received my Arduino Little Thermal Printer Pack and I'm running under Mac OS X 10.9.3.
There is a problem with the script given by Adafruit : it is only running with Processing 1.5.1 which runs only with Java JVM 32 bits. Since MacBook Pro are 64 bits, Java 7 32 bits is not longer provided by java.com.
The problem was that when I run the code, I'm given that error message :
Code: Select all
'The method SelectInput(String, String) in the type PApplet is not applicable for the argument (String)'
Code: Select all
String filename, basename;
PImage img;
...
// Select and load image
filename = selectInput("Select image file to convert:");
println("Loading image...");
img = loadImage(filename);
So I wrote that code instead :
Code: Select all
// Select and load image
img = loadImage("test.bmp");
filename = "test.bmp";
But it is not so convenient and I don't know a lot about Java and Processing, anybody have a solution to have back the file-select prompt ?
Thanks a lot, and sorry for my languages mistakes if ever, english is not my mother tongue.