Ejection by electric field of ink or of toner particles contained in ink