Only Print Beverages if it is with food or on a table

So we have been requested to setup where the printer does not print out beverages unless it is accommodated by food or on a table. I am wondering the best option for this or if it is even possible.


Use constraints in the rule that fires the drink print.