The invention provides a preparation method and application method of edible ink for inkjet printing. This ink can form printed records with good identification and certain water resistance on the surface of various foods (including tablets), food contact materials, food packaging materials, etc. The raw materials of this inkjet ink are approved food additives, including shellac, cellulose resin, ethanol, water and so on. The manufacture method of this ink-jet ink is: a, food coloring is dispersed or dissolved in the aqueous solution that contains cellulose resin to make color base dispersion, contains the water more than 50wt% in this dispersion; B, shellac Dissolve in dehydrated alcohol and make shellac solution, contain the dehydrated alcohol more than 50wt% in this shellac solution; c, color paste dispersion is dispersed in shellac solution again, add a certain amount of conductive salt sodium lactate, pH Regulator ammonium carbonate, humectant, emulsifier, defoamer, etc.; d, filter filling.