If you cannot touch label abc how can you expect it not to print when label xzy is printed?
The logical thing is to build the criteria into the routine for form abc and print either abc or xyz based on the secret criteria you have mentioned.
How can you stop a car crash from happening when an airbag is deployed?