`;
// Create a temporary iframe or window for printing/PDF generation
const printWindow = window.open('', '', 'height=600,width=800');
printWindow.document.write('Anxiety Scale Report ');
// Optional: Include any specific print styles here if needed
printWindow.document.write('');
printWindow.document.write(pdfContent);
printWindow.document.write('');
printWindow.document.close();
// Wait for content to load before printing
printWindow.onload = function() {
printWindow.focus();
printWindow.print();
};
}
