Making bags or boxes intended for a specific use