The global spread of the new crown pneumonia epidemic has triggered concerns about the world's food crisis. Judging from the current situation, the output of major food products such as cereals, fruits, meat, poultry, eggs and aquatic products in my country ranks high. In order to ensure the food safety of the people and effectively control the outbreak of food-borne diseases, the country has established a food Relevant laws and regulations for safety traceability. The 'Commodity Barcode Management Measures' pointed out that food prepackaged products should be marked with commodity barcodes in the product label; Article 42 of the 'Food Safety Law' stipulates that food producers and operators should establish a food safety traceability system to ensure that food can be Retrospective. Therefore, in the production of pre-packaged food, the use of a two-dimensional code UV inkjet printer for anti-counterfeiting traceability identification and variable two-dimensional code printing is a very important link. Two-dimensional code technology has also penetrated into all aspects of our daily lives, basically including food anti-counterfeiting traceability, liquor anti-counterfeiting traceability, scanning code to send gifts marketing and so on. The use of QR code UV inkjet printers for anti-counterfeiting and traceability can effectively solve the problems of anti-sweeping and anti-counterfeiting traceability in food production and sales. The use of two-dimensional codes to build enterprise internal information is conducive to enterprise production management. UV coding equipment is a type that does not directly touch the surface of the printing object and will not damage the food packaging. The printed logo usually has the characteristics of high adhesion and wear resistance, which can guarantee the barcode and the second in the food circulation link. Long-term availability of dimension code information. The two-dimensional code UV inkjet printer not only has a fast printing speed and a wide range of applications, but also high-quality marks can be printed on the surface of a variety of materials. Its data printing characteristics can solve the problems of one object, one code, anti-counterfeiting and anti-smuggling.