Customised on demand packaging by determining a specific characteristic