The invention provides a tool for product code spraying of an ink-jet printer, and belongs to the technical field of code spraying. The tool comprises a bearing unit and a code spraying unit arranged at one end of the bearing unit, the bearing unit comprises a containing table, one end of the containing table is fixedly connected with a
flange, a rotary connection unit is arranged at the lower end of the containing table, and the rotary connection unit is fixedly connected with the
flange. The two ends of the containing table are provided with connecting units, the code spraying unit comprises a linkage unit, and one end of the linkage unit is provided with a code spraying
assembly. The tool solves the problems that when an existing tool for product code spraying of the code spraying
machine is used for spraying codes on sheet-block-shaped products to be subjected to code spraying, the products to be subjected to code spraying with different qualities are inconvenient to carry and transfer, continuous code spraying on the products to be subjected to code spraying is not facilitated, manpower and
material resources are consumed, and efficient progress of product code spraying operation is not facilitated.