The compact handheld inkjet coding printer provides a flexible marking solution for different products and packaging requirements. It can produce customized text, numbers, dates, batch codes, symbols, and identification information on suitable surfaces. Its compact size allows convenient handling and movement during production or packaging operations. It can be applied to cardboard, plastic, metal, glass, wood, bags, cartons, and other compatible materials. Typical users include manufacturers, packaging companies, workshops, warehouses, distributors, retailers, and businesses that need portable coding equipment for different product sizes.