osx - Printing PDF/Doc/Docx from Mac OS X application? -


is there way print .doc, .docx, .pdf files without opening native application in cocoa,

is there way invoke nsprintpanel application invoke print dialog given file.

i new cocoa programming, highly appreciated.

printing requires view. if remember correctly, default behavior print content view of main window.

so, easiest way make main window's view (within content view) either pdfview or nstextview, you've loaded contents of pdf or word file.

if want have other views, need customize printing, in case direct the printing programming guide.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -