You can take a look at the Google Native client , available in the dev channel version of Google Chrome,
When launched using its own client flags, it allows printing on the terminal, as indicated here . See the documentation here and here for more details.
Getting windows work can be painful, but this (presumably) works fine on linux. I'm trying to do it right now.
Anirudh ramanathan
source share