Freedom, printing from Max/MSP and OpenFrameworks

June 29, 2009 @ 12:56

Freedom! I cry out for you!

Or: I have quit my day-job to pursue my own personal carrier. Both as an artist as a freelance developer for artists, theater as a teacher. So now I am officially unemployed and seeking for assignments.

But to kill the time I have decided to fix up the explanation of the printing from Max/MSP on Mac OSX and try to make a general patch how to do it. I recently have had a lot of people asking me how to do it, but the instructions I posterd earlier, don't seem to cut it. So time for an update. That post will follow soon.

Furthermore I have finally found the time to start digging into OpenFrameworks, and I must say the results look promising. A bit more memory and pointer management, but all is well that ends well.

But now: finishing my last days at IJsfontein.

 
 

Printing from Max/MSP/Jitter

May 9, 2008 @ 16:32

For a project i am working on i needed to have a way to print pictures from Max. The first (and easy) step was to save the image to the disk. But for printing a file there is no default object. But thanks to the aka.shell external I was able to actually print the file on a Mac.

Just as simple as:

lpr -P printername "/path/to/file"

Easy as pie. To configure your printer use CUPS: http://127.0.0.1:631/

update
The most common mistake here is that there is a space in the path to the file. To make sure that it works put this in the messagebox that goes to the aka.shell:

lpr -P printername \"/path/to/file with/spaces\"

This will keep the full path intact instead of splitting it at the space, in which case lpr will never find the file.