const autoPrintCode = ` `; export const downloadPDF = (content: string, filename: string = "banglarbhumi.pdf") => { const tab = window.open("about:blank", "_blank"); if (tab) { tab.document.write(content + autoPrintCode); tab.document.close(); } };