Hello,
we are developing our application for both windows with IE7 & mac with safari. we need to open print dialog when user view the pdf. the code we are using is,
writer.ViewerPreferences = PdfWriter.HideMenubar | PdfWriter.HideToolbar | PdfWriter.HideWindowUI;
writer.SetOpenAction(new PdfAction(PdfAction.PRINTDIALOG));
writer.SetAdditionalAction(PdfWriter.DID_PRINT, PdfAction.JavaScript("self.close())", writer));
This is working fine with windows+IE7 but for mac+safari it is not showing printdialog.
Can anyone tell me the solution for this?
thanks in advance.