objective c - How to open some mac application on print command? -


i new mac applications, want know, there way through can open created application whenever user tries print document using specific printer(installed me).

i working on conversion of .doc .ps , .ps .pdf

.ps .pdf achieved me using ghost script.

the requirement of application open whenever user tries print document using specific printer

all suggestions welcome, thanx in advance

the os x print system based on cups. (in fact, creator, michael sweet, works on cups apple employee.) 1 approach write own cups printer driver. can search web writing cups printer driver. couldn't find mac-specific guides (even in apple's mac dev center), there guides linux might started.

a simpler, different approach, create “print plugin”. when print in os x, print dialog has “pdf” button in lower-left pops menu of other options, “open pdf in preview”, “mail pdf”, “add pdf itunes”, , on. each of these options print plugin. can create own print plugin using automator application. has template creating print plugin workflow. can create workflow opens pdf in app. if want this, , need automator, should ask on ask different instead of stack overflow.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -