After successfully using the print.js library to print a single PDF, I encountered an issue when attempting to print multiple PDFs. An error message stating "ERROR Multiple Choices" was displayed. I also experimented with plain JS, but it resulted in multiple prompts for each document.
Below is the code snippet we implemented:
printJS({
printable: ['dummy.pdf', 'dummy1.pdf'],
type:'pdf'
});
Please see the attached image for reference: https://i.sstatic.net/ZHwKN.jpg
Any assistance on this matter would be greatly appreciated. Thank you!