Scripting - Client Side
Is your Safari set to load PDFs in the browser? If not, then it will just download it and your iframe will be blank anyway.
yes, my safari browser its loading pdf file, but its not printing
Where exactly does it fail to print? Does the preview show correctly? Does it just not send to the printer? Does the printer dialog show up? Can you be more specific? Because the code works perfectly fine for me.