Print Labels when Production is Tracked

Is there a way to print labels for products when they are scanned with an ADC gun for production tracking. Currently, we print labels for products going into a work order prior to scanning/weighing. We would like this to be printed when the product is scanned/weighed and tracked.