Sustainable and waste-free marking of food and packaging