PdfAction.PRINTDIALOG not working for mac+safari

View: New views
1 Messages — Rating Filter:   Alert me  

PdfAction.PRINTDIALOG not working for mac+safari

by rajeshkatkam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.