You can use PowerForms to do this, you can set up actions that can print a label as soon as a value is scanned. However, you would need to have the user open a form to do this. If you want truly automated printing you would use automation, which simply runs as a service and can receive data and then print a label.