I would place one worksheet in each of five group footer sections (a-e) and format the higher order group footer to new page before and new page after. Then conditionally suppress each group footer section (a-e) based on the license type, e.g.,
{table.licensetype} <> "ABC"
-LB