Some time ago I did a crude experiment with a glass pipette with ink in it, when I touched the side of the pipette with a hot soldering iron a small amount of ink ejected.
The hot end could be the soldering iron and a solenoid could bring the pipette ( or equivilent devise) into contact, a crude sort of bubblejet, ?????????
Random Precision