How to create only one header if user choose multiple request

Hi Team
i am creating a print format. in that i have multiple request .from ui side i choose multiple request in backend having some logic to build the pdf .so i want only one heder if user choose the multiple options .how this will possible